Closed samueleresca closed 3 years ago
Hi @mwhittaker,
I see the following implementation for the uniform_strategy method:
uniform_strategy
def uniform_strategy(self, f: int = 0) -> 'Strategy[T]': ... 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)) ...
(line 179)
Am I right to suppose that in the f_resilient_quorums call for the write_quorums var, it should pass the self.writes property of the quorum system?
f_resilient_quorums
write_quorums
self.writes
Thanks 😄
Haha whoops! Yeah, that is a bug. Just pushed a commit to fix it. Thanks so much for finding the bug Samuele. If you find any other bugs, definitely let me know!
Hi @mwhittaker,
I see the following implementation for the
uniform_strategy
method:(line 179)
Am I right to suppose that in the
f_resilient_quorums
call for thewrite_quorums
var, it should pass theself.writes
property of the quorum system?Thanks 😄