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

Support Pre-Vote optimization #31

Closed
armon opened this issue Jan 14, 2015 · 4 comments
Closed

Support Pre-Vote optimization #31

armon opened this issue Jan 14, 2015 · 4 comments

Comments

@armon
Copy link
Member

armon commented Jan 14, 2015

Use a pre-vote to avoid disrupting a stable cluster when possible

@icexin
Copy link

icexin commented Aug 11, 2015

I used to implement a raft in c++. In this version, before election, the candidate send a query to others to check whether the leader is alive, when receives enough positive answers, then starts sending votes.
However, this optimization may delay the discovery of leader failure, since everyone must wait until majority of followers is timeout.
Hope this helps.

@slackpad
Copy link
Contributor

See section 9.6 for more details - https://ramcloud.stanford.edu/~ongaro/thesis.pdf.

@komuw
Copy link
Contributor

komuw commented Nov 28, 2020

https://blog.cloudflare.com/a-byzantine-failure-in-the-real-world/

,

Screenshot 2020-11-28 at 18 47 14

Can be fixed by[1]:

  • using PreVote &
  • using CheckQuourm
  1. https://decentralizedthoughts.github.io/2020-12-12-raft-liveness-full-omission/

@dhiaayachi
Copy link
Contributor

Fixed by #530

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

5 participants