Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for EcIndex (0.06 sec)

  1. cmd/xl-storage-format-v1.go

    		return false
    	}
    	if ei.BlockSize != nei.BlockSize {
    		return false
    	}
    	if len(ei.Distribution) != len(nei.Distribution) {
    		return false
    	}
    	for i, ecindex := range ei.Distribution {
    		if ecindex != nei.Distribution[i] {
    			return false
    		}
    	}
    	return true
    }
    
    // BitrotAlgorithm specifies a algorithm used for bitrot protection.
    type BitrotAlgorithm uint
    
    const (
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. docs/debugging/xl-meta/main.go

    				m.wantMD5 = ei.V2Obj.MetaUsr.Etag
    			}
    			if m.shards == 0 {
    				m.shards = m.data + m.parity
    			}
    			idx = ei.V2Obj.EcIndex - 1
    			fmt.Println("Read shard", ei.V2Obj.EcIndex, fmt.Sprintf("(%s)", file))
    			if ei.V2Obj.Size != m.objSize {
    				return nil, fmt.Errorf("size mismatch. Meta size: %d, Prev: %d", ei.V2Obj.Size, m.objSize)
    			}
    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-utils.go

    		}
    		shuffledDisks[meta.Erasure.Index-1] = disks[i]
    		shuffledPartsMetadata[meta.Erasure.Index-1] = metaArr[i]
    	}
    
    	// Inconsistent meta info is with in the limit of
    	// expected quorum, proceed with EcIndex based
    	// disk order.
    	if inconsistent < fi.Erasure.ParityBlocks {
    		return shuffledDisks, shuffledPartsMetadata
    	}
    
    	// fall back to original distribution based order.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  4. cmd/xl-storage-format-v2_gen.go

    				return
    			}
    		case "EcBSize":
    			z.ErasureBlockSize, err = dc.ReadInt64()
    			if err != nil {
    				err = msgp.WrapError(err, "ErasureBlockSize")
    				return
    			}
    		case "EcIndex":
    			z.ErasureIndex, err = dc.ReadInt()
    			if err != nil {
    				err = msgp.WrapError(err, "ErasureIndex")
    				return
    			}
    		case "EcDist":
    			var zb0003 uint32
    			zb0003, err = dc.ReadArrayHeader()
    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

    	ErasureBlockSize   int64             `json:"EcBSize" msg:"EcBSize"`                          // Erasure block size
    	ErasureIndex       int               `json:"EcIndex" msg:"EcIndex"`                          // Erasure disk index
    	ErasureDist        []uint8           `json:"EcDist" msg:"EcDist"`                            // Erasure distribution
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (0)
Back to top