Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for dataBlocks (0.07 sec)

  1. cmd/erasure-object.go

    	lastPartIndex, _, err := fi.ObjectToPartOffset(ctx, endOffset)
    	if err != nil {
    		return InvalidRange{startOffset, length, fi.Size}
    	}
    
    	var totalBytesRead int64
    	erasure, err := NewErasure(ctx, fi.Erasure.DataBlocks, fi.Erasure.ParityBlocks, fi.Erasure.BlockSize)
    	if err != nil {
    		return toObjectErr(err, bucket, object)
    	}
    
    	var healOnce sync.Once
    
    	for ; partIndex <= lastPartIndex; partIndex++ {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  2. cmd/object-api-datatypes_gen.go

    			z.Inlined, bts, err = msgp.ReadBoolBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "Inlined")
    				return
    			}
    		case "DataBlocks":
    			z.DataBlocks, bts, err = msgp.ReadIntBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "DataBlocks")
    				return
    			}
    		case "ParityBlocks":
    			z.ParityBlocks, bts, err = msgp.ReadIntBytes(bts)
    			if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 70.1K bytes
    - Viewed (0)
  3. cmd/erasure-healing_test.go

    	}
    
    	// Test 4: checks if HealObject returns an error when xl.meta is not found
    	// in more than read quorum number of disks, to create a corrupted situation.
    	for i := 0; i <= nfi.Erasure.DataBlocks; i++ {
    		erasureDisks[i].Delete(context.Background(), bucket, pathJoin(object, xlStorageFormatFile), DeleteOptions{
    			Recursive: false,
    			Immediate: false,
    		})
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 49K bytes
    - Viewed (0)
  4. cmd/xl-storage-format-v2.go

    		fi.Metadata[xhttp.AmzBucketReplicationStatus] = string(replStatus)
    	}
    	fi.Erasure.Algorithm = j.ErasureAlgorithm.String()
    	fi.Erasure.Index = j.ErasureIndex
    	fi.Erasure.BlockSize = j.ErasureBlockSize
    	fi.Erasure.DataBlocks = j.ErasureM
    	fi.Erasure.ParityBlocks = j.ErasureN
    	fi.Erasure.Distribution = make([]int, len(j.ErasureDist))
    	for i := range j.ErasureDist {
    		fi.Erasure.Distribution[i] = int(j.ErasureDist[i])
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (1)
  5. cmd/xl-storage_test.go

    		fi := FileInfo{
    			Name: object, Volume: volume, VersionID: versions[i], ModTime: UTCNow(), DataDir: "", Size: 10000,
    			Erasure: ErasureInfo{
    				Algorithm:    erasureAlgorithm,
    				DataBlocks:   4,
    				ParityBlocks: 4,
    				BlockSize:    blockSizeV2,
    				Index:        1,
    				Distribution: []int{0, 1, 2, 3, 4, 5, 6, 7},
    				Checksums:    nil,
    			},
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 66.7K bytes
    - Viewed (0)
Back to top