- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for partsErrs (0.1 sec)
-
cmd/erasure-healing.go
// Only heal on disks where we are sure that healing is needed. We can expand // this list as and when we figure out more errors can be added to this list safely. func shouldHealObjectOnDisk(erErr error, partsErrs []int, meta FileInfo, latestMeta FileInfo) (bool, error) { if errors.Is(erErr, errFileNotFound) || errors.Is(erErr, errFileVersionNotFound) || errors.Is(erErr, errFileCorrupt) { return true, erErr } if erErr == nil {
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Wed Oct 02 17:50:41 UTC 2024 - 34.4K bytes - Viewed (0) -
cmd/erasure-healing-common.go
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 { return slices.IndexFunc(partErrs, func(i int) bool { return i != checkPartSuccess }) > -1 }
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Tue Oct 01 15:19:10 UTC 2024 - 12.6K bytes - Viewed (0)