- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for checkPartSuccess (0.08 sec)
-
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)