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

Consensus not working #1

Closed
nirvik opened this issue Oct 8, 2016 · 0 comments
Closed

Consensus not working #1

nirvik opened this issue Oct 8, 2016 · 0 comments
Labels

Comments

@nirvik
Copy link
Owner

nirvik commented Oct 8, 2016

A joins
A is leader
B joins
B thinks A is the leader
A quits
B announces itself as the winner
Now the problem starts
A joins
A thinks no one is there in the network(this shouldn't happen in the first place) 👎
A announces itself as winner
This leads to a split brain scenario
B gets the message and decides to bully A and sends a FACE OFF message with leader(WL)
A gets the FACE OFF message with WL from B
B announces election and declares itself as the winner
Whereas in A, it never received the new election message.

@nirvik nirvik added the bug label Apr 30, 2017
@nirvik nirvik closed this as completed Jun 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant