Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for EcM (0.02 sec)

  1. cmd/erasure-metadata_test.go

    		// Exact simple majority consensus
    		mkTest(16, 4, 9),
    		// non-tiered object require read quorum of EcM
    		nonTieredTest(15, 3, 12),
    		// non-tiered object with fewer than EcM in consensus
    		nonTieredTest(15, 3, 11),
    		// non-tiered object require read quorum of EcM
    		nonTieredTest(16, 4, 12),
    		// non-tiered object with fewer than EcM in consensus
    		nonTieredTest(16, 4, 11),
    	}
    	for i, test := range tests {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jul 25 21:02:50 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  2. docs/debugging/xl-meta/main.go

    		Signature string
    		Type      uint8
    		Flags     uint8
    		EcM, EcN  uint8 // Note that these will be 0/0 for non-v2 objects and older xl.meta
    	}{
    		VersionID: hex.EncodeToString(z.VersionID[:]),
    		ModTime:   time.Unix(0, z.ModTime),
    		Signature: hex.EncodeToString(z.Signature[:]),
    		Type:      z.Type,
    		Flags:     z.Flags,
    		EcM:       z.EcM,
    		EcN:       z.EcN,
    	}
    	return json.Marshal(tmp)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 05 11:57:44 UTC 2024
    - 40.3K bytes
    - Viewed (0)
  3. 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
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  4. cmd/xl-storage-format-v2_gen.go

    			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
    }
    
    // EncodeMsg implements msgp.Encodable
    func (z *xlMetaV2VersionHeader) EncodeMsg(en *msgp.Writer) (err error) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 55.5K bytes
    - Viewed (0)
  5. 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)
  6. cmd/metacache-entries.go

    				// 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)
Back to top