- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for checkPartSuccess (0.1 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 Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jun 10 15:51:27 UTC 2024 - 49K 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 hasPartErr(partErrs []int) bool { return slices.IndexFunc(partErrs, func(i int) bool { return i != checkPartSuccess }) > -1 } // disksWithAllParts - This function needs to be called with // []StorageAPI returned by listOnlineDisks. Returns,
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Oct 31 22:10:24 UTC 2024 - 12.7K 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 Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 22 15:30:50 UTC 2024 - 17.3K bytes - Viewed (0) -
cmd/erasure-healing.go
nonActionableCount++ } } return } func danglingPartErrsCount(results []int) (notFoundCount int, nonActionableCount int) { for _, partResult := range results { switch partResult { case checkPartSuccess: continue case checkPartFileNotFound: notFoundCount++ default: // All other errors are non-actionable nonActionableCount++ } } return }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Oct 02 17:50:41 UTC 2024 - 34.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 Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Oct 26 09:58:27 UTC 2024 - 91.3K bytes - Viewed (0)