Skip to content
New issue

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

PaxosRole doesn't model the low-ball prepare state #28

Open
simbo1905 opened this issue Aug 31, 2017 · 1 comment
Open

PaxosRole doesn't model the low-ball prepare state #28

simbo1905 opened this issue Aug 31, 2017 · 1 comment

Comments

@simbo1905
Copy link
Contributor

PaxosRole currently has three states, Follower, Recoverer and Leader. The logic actually has two states for a Follower, one which is normal running and the other which is when it has timedout and issued a lowball prepare. It would better document the actual state machine if we modelled awaiting the responses to the lowball prepare as a different state. That could be something like Candidate to indicate that it is seeking to be the leader.

@simbo1905
Copy link
Contributor Author

Whilst we are at it the term Role might be applied to the concept of proposer, accepter and learner. So we might consider renaming it to be PaxosState.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant