mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-04-13 13:53:07 +00:00
mutable/servermap.py: oops, query N+e servers in MODE_WRITE, not k+e
under normal conditions, this wouldn't cause any problems, but if the shares are really sparse (perhaps because new servers were added), then file-modifies might stop looking too early and leave old shares in place
This commit is contained in:
parent
696cc000d0
commit
eb18686284
@ -434,7 +434,7 @@ class ServermapUpdater:
|
||||
if k is None:
|
||||
# make a guess
|
||||
k = 3
|
||||
N = self._node.get_required_shares()
|
||||
N = self._node.get_total_shares()
|
||||
if N is None:
|
||||
N = 10
|
||||
self.EPSILON = k
|
||||
|
Loading…
x
Reference in New Issue
Block a user