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

Ignore RequestVote when leader is established. #58

Merged
merged 1 commit into from
Jun 11, 2018

Commits on Mar 7, 2018

  1. Ignore RequestVote when leader is established.

    This behavior is described in the original Raft paper and is required to
    prevent removed nodes from disrupting the cluster.
    
    This causes other problems though, as a split node may trigger election
    which is rejected but leaves it with a future term.  The generally
    accepted solution for this appears to be the use of PreVote RPC to avoid
    election that can never succeed.
    yossigo committed Mar 7, 2018
    Configuration menu
    Copy the full SHA
    56a1fb8 View commit details
    Browse the repository at this point in the history