Caught bug in f-resilient quorum computation.
This commit is contained in:
parent
bdd4e8925e
commit
ef292ba35e
1 changed files with 1 additions and 1 deletions
|
@ -244,7 +244,7 @@ class QuorumSystem(Generic[T]):
|
|||
else:
|
||||
xs = list(self.elements())
|
||||
read_quorums = list(self._f_resilient_quorums(f, xs, self.reads))
|
||||
write_quorums = list(self._f_resilient_quorums(f, xs, self.reads))
|
||||
write_quorums = list(self._f_resilient_quorums(f, xs, self.writes))
|
||||
if len(read_quorums) == 0:
|
||||
raise NoStrategyFoundError(
|
||||
f'There are no {f}-resilient read quorums')
|
||||
|
|
Loading…
Reference in a new issue