Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for EcN (0.1 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/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