- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for countPartNotSuccess (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 countPartNotSuccess(partErrs []int) (c int) { for _, pe := range partErrs { if pe != checkPartSuccess { c++ } } return }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Mar 30 00:56:02 UTC 2025 - 12K bytes - Viewed (0) -
cmd/erasure-healing.go
cannotHeal = false } if !latestMeta.Deleted && !latestMeta.IsRemote() { // check if there is a part that lost its quorum for _, partErrs := range dataErrsByPart { if countPartNotSuccess(partErrs) > latestMeta.Erasure.ParityBlocks { cannotHeal = true break } } } if cannotHeal { // Allow for dangling deletes, on versions that have DataDir missing etc.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 34.6K bytes - Viewed (0)