- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for partNeedsHealing (0.07 sec)
-
cmd/erasure-healing-common_test.go
for diskIndex := range erasureDisks { if _, ok := diskFailures[diskIndex]; ok { if !partNeedsHealing(dataErrsPerDisk[diskIndex]) { t.Errorf("Disk expected to be healed, driveIndex: %d", diskIndex) } } else { if partNeedsHealing(dataErrsPerDisk[diskIndex]) { t.Errorf("Disk not expected to be healed, driveIndex: %d", diskIndex) } } } }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 22.4K bytes - Viewed (0) -
cmd/erasure-healing-common.go
return checkPartFileCorrupt case errVolumeNotFound: return checkPartVolumeNotFound case errDiskNotFound: return checkPartDiskNotFound default: return checkPartUnknown } } 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) {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Mar 30 00:56:02 UTC 2025 - 12K bytes - Viewed (0)