Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for EcN (0.02 sec)

  1. docs/debugging/xl-meta/main.go

    			err = msgp.WrapError(err, "Flags")
    			return
    		}
    		z.Flags = zb0003
    	}
    	if hdrVer > 2 {
    		// Version 3 has EcM and EcN
    		{
    			var zb0004 uint8
    			zb0004, bts, err = msgp.ReadUint8Bytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "EcN")
    				return
    			}
    			z.EcN = zb0004
    		}
    		{
    			var zb0005 uint8
    			zb0005, bts, err = msgp.ReadUint8Bytes(bts)
    			if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 05 11:57:44 UTC 2024
    - 40.3K bytes
    - Viewed (0)
  2. cmd/xl-storage-format-v2.go

    		flags |= xlFlagInlineData
    	}
    	var ecM, ecN uint8
    	if j.Type == ObjectType && j.ObjectV2 != nil {
    		ecM, ecN = uint8(j.ObjectV2.ErasureM), uint8(j.ObjectV2.ErasureN)
    	}
    	return xlMetaV2VersionHeader{
    		VersionID: j.getVersionID(),
    		ModTime:   j.getModTime().UnixNano(),
    		Signature: j.getSignature(),
    		Type:      j.Type,
    		Flags:     flags,
    		EcN:       ecN,
    		EcM:       ecM,
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (1)
  3. cmd/xl-storage-format-v2_gen.go

    		var zb0003 uint8
    		zb0003, err = dc.ReadUint8()
    		if err != nil {
    			err = msgp.WrapError(err, "Flags")
    			return
    		}
    		z.Flags = xlFlags(zb0003)
    	}
    	z.EcN, err = dc.ReadUint8()
    	if err != nil {
    		err = msgp.WrapError(err, "EcN")
    		return
    	}
    	z.EcM, err = dc.ReadUint8()
    	if err != nil {
    		err = msgp.WrapError(err, "EcM")
    		return
    	}
    	return
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 55.5K bytes
    - Viewed (0)
  4. cmd/metacache-entries.go

    			if eVer.header.hasEC() != oVer.header.hasEC() {
    				// One version has EC and the other doesn't - may have been written later.
    				// Compare without considering EC.
    				a, b := eVer.header, oVer.header
    				a.EcN, a.EcM = 0, 0
    				b.EcN, b.EcM = 0, 0
    				if a == b {
    					continue
    				}
    			}
    			if !strict && eVer.header.matchesNotStrict(oVer.header) {
    				if prefer == nil {
    					if eVer.header.sortsBefore(oVer.header) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  5. cmd/erasure-metadata.go

    			// For tiered objects, read quorum is N/2+1 to ensure simple majority on xl.meta.
    			// It is not equal to EcM because the data integrity is entrusted with the warm tier.
    			// However, we never go below EcM, in case of a EcM=EcN setup.
    			parities[index] = max(totalShards-(totalShards/2+1), metadata.Erasure.ParityBlocks)
    		} else {
    			parities[index] = metadata.Erasure.ParityBlocks
    		}
    	}
    	return
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 21.3K bytes
    - Viewed (0)
Back to top