Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for shufflePartsMetadata (0.2 sec)

  1. cmd/erasure-metadata-utils.go

    		shuffledDisks[blockIndex-1] = disks[index]
    	}
    	return shuffledDisks, shuffledPartsMetadata
    }
    
    // Return shuffled partsMetadata depending on distribution.
    func shufflePartsMetadata(partsMetadata []FileInfo, distribution []int) (shuffledPartsMetadata []FileInfo) {
    	if distribution == nil {
    		return partsMetadata
    	}
    	shuffledPartsMetadata = make([]FileInfo, len(partsMetadata))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  2. cmd/erasure-healing.go

    		healingLogOnceIf(ctx, err, "heal-object-metadata-entries")
    		return er.defaultHealResult(latestMeta, storageDisks, storageEndpoints, errs,
    			bucket, object, versionID), err
    	}
    
    	partsMetadata = shufflePartsMetadata(partsMetadata, latestMeta.Erasure.Distribution)
    
    	copyPartsMetadata := make([]FileInfo, len(partsMetadata))
    	for i := range latestDisks {
    		if latestDisks[i] == nil {
    			continue
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 02 17:50:41 UTC 2024
    - 34.4K bytes
    - Viewed (0)
Back to top