projects
/
tahoe-lafs
/
tahoe-lafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f895e39
)
mutable checker: oops, fix redefinition of 'healthy' (numshares < N, not numshares...
author
Brian Warner
<warner@allmydata.com>
Wed, 10 Sep 2008 00:28:53 +0000
(17:28 -0700)
committer
Brian Warner
<warner@allmydata.com>
Wed, 10 Sep 2008 00:28:53 +0000
(17:28 -0700)
src/allmydata/mutable/checker.py
patch
|
blob
|
history
diff --git
a/src/allmydata/mutable/checker.py
b/src/allmydata/mutable/checker.py
index 64266ad38a0b0b3afd8dec36ad2c3ce447133650..58da3cfde714b5bfb4b2803d2b82a6620fced052 100644
(file)
--- a/
src/allmydata/mutable/checker.py
+++ b/
src/allmydata/mutable/checker.py
@@
-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))