- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for partNeedsHealing (0.15 sec)
-
cmd/erasure-healing-common_test.go
t.Errorf("Drive not filtered as expected, drive: %d", diskIndex) } if !partNeedsHealing(dataErrsPerDisk[diskIndex]) { t.Errorf("Disk expected to be healed, driveIndex: %d", diskIndex) } } else { if disk == nil { t.Errorf("Drive erroneously filtered, driveIndex: %d", diskIndex) } if partNeedsHealing(dataErrsPerDisk[diskIndex]) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 01 15:19:10 UTC 2024 - 23.1K 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 hasPartErr(partErrs []int) bool {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Oct 31 22:10:24 UTC 2024 - 12.7K bytes - Viewed (0)