- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for checkPartSuccess (0.06 sec)
-
cmd/erasure-healing_test.go
nil, }, dataErrs: map[int][]int{ 0: {checkPartFileNotFound, checkPartSuccess, checkPartSuccess, checkPartSuccess}, 1: {checkPartSuccess, checkPartFileNotFound, checkPartSuccess, checkPartSuccess}, 2: {checkPartSuccess, checkPartSuccess, checkPartFileNotFound, checkPartSuccess}, 3: {checkPartSuccess, checkPartSuccess, checkPartSuccess, checkPartFileNotFound}, }, expectedMeta: fi,
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 48.5K bytes - Viewed (0) -
cmd/erasure-healing-common.go
} } func partNeedsHealing(partErrs []int) bool { return slices.IndexFunc(partErrs, func(i int) bool { return i != checkPartSuccess && i != checkPartUnknown }) > -1 } func countPartNotSuccess(partErrs []int) (c int) { for _, pe := range partErrs { if pe != checkPartSuccess { c++ } } return }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Mar 30 00:56:02 UTC 2025 - 12K bytes - Viewed (0) -
cmd/erasure-healing.go
for i, disk := range latestDisks { if disk == OfflineDisk { continue } thisPartErrs := shuffleCheckParts(dataErrsByPart[partIndex], latestMeta.Erasure.Distribution) if thisPartErrs[i] != checkPartSuccess { continue } checksumInfo := copyPartsMetadata[i].Erasure.GetChecksumInfo(partNumber) partPath := pathJoin(object, srcDataDir, fmt.Sprintf("part.%d", partNumber))
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 34.6K bytes - Viewed (0) -
cmd/storage-datatypes.go
} const ( checkPartUnknown int = iota // Changing the order can cause a data loss // when running two nodes with incompatible versions checkPartSuccess checkPartDiskNotFound checkPartVolumeNotFound checkPartFileNotFound checkPartFileCorrupt ) // CheckPartsResp is a response of the storage CheckParts and VerifyFile APIs
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Apr 25 05:41:04 UTC 2025 - 17.4K bytes - Viewed (0) -
cmd/xl-storage.go
if st.Mode().IsDir() { resp = checkPartFileNotFound return } // Check if shard is truncated. if st.Size() < expectedSize { resp = checkPartFileCorrupt return } return checkPartSuccess } // CheckParts check if path has necessary parts available. func (s *xlStorage) CheckParts(ctx context.Context, volume string, path string, fi FileInfo) (*CheckPartsResp, error) {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Jun 13 11:33:47 UTC 2025 - 91.7K bytes - Viewed (0)