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

etcdserver: use PreVote so majority partition's leader isn't forced to step down #8499

Closed
heyitsanthony opened this issue Sep 5, 2017 · 4 comments

Comments

@heyitsanthony
Copy link
Contributor

If a cluster is partitioned then connectivity is fixed, the minority partition can trigger a new election that will cause the majority partition's leader to step down and disrupt availability. The fix, as described in 9.6 of the raft disseration, is PreVote.

@BlueBlue-Lee
Copy link
Contributor

I have found the implementation in etcd. Do I miss important point?

@irfansharif
Copy link
Contributor

@shenlanse: it isn't as stable/battle tested as yet, see #8501, #8498 and the issues linked therein. We (cockroachdb/cockroach) have run into issues enabling it as it stands today.

@BlueBlue-Lee
Copy link
Contributor

@irfansharif Ohh,thanks, I will see it

@gyuho
Copy link
Contributor

gyuho commented May 2, 2018

Will be enabled by default in v3.5. Has been testing pre-vote in functional testing for several months, and seems stable.

@gyuho gyuho closed this as completed May 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

4 participants