mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-23 06:42:26 +00:00
mutable checker: oops, fix redefinition of 'healthy' (numshares < N, not numshares < k, which is 'recoverable' not 'healthy')
This commit is contained in:
parent
f895e39d48
commit
9676586732
@ -193,7 +193,7 @@ class MutableChecker:
|
||||
s = counters["count-shares-good"]
|
||||
k = counters["count-shares-needed"]
|
||||
N = counters["count-shares-expected"]
|
||||
if s < k:
|
||||
if s < N:
|
||||
healthy = False
|
||||
report.append("Unhealthy: best version has only %d shares "
|
||||
"(encoding is %d-of-%d)" % (s, k, N))
|
||||
|
Loading…
Reference in New Issue
Block a user