We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Perhaps this is just about indentation in the if blocks, but scout.py in state-reduction shouldn't send PreEmptedMessage while checking for majority.
if
Current:
if isinstance(msg, P1bMessage): if self.ballot_number == msg.ballot_number and msg.src in waitfor: pvalues.update(msg.accepted) waitfor.remove(msg.src) if (2 * len(waitfor)) > len(self.acceptors): self.sendMessage(self.leader, AdoptedMessage(self.me, self.ballot_number, pvalues)) return else: self.sendMessage(self.leader, PreemptedMessage(self.me, msg.ballot_number)) return else: print "Scout: unexpected msg"
Likely should be:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Perhaps this is just about indentation in the
if
blocks, but scout.py in state-reduction shouldn't send PreEmptedMessage while checking for majority.Current:
Likely should be:
The text was updated successfully, but these errors were encountered: