-
Notifications
You must be signed in to change notification settings - Fork 399
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
Votes should be updated when doing conf change #221
Comments
And poll method should be called again after applying conf change in case quorum is met. |
Turns out the bug is caused by incorrectly campaign when receiving MsgTimeoutNow. All campaign should check if there is any unapplied conf changes. /cc @xiang90 |
BusyJay
added a commit
that referenced
this issue
Apr 29, 2019
hicqu
pushed a commit
to hicqu/raft-rs
that referenced
this issue
Jul 17, 2019
Hoverbear
pushed a commit
that referenced
this issue
Jul 19, 2019
* Check pending conf change before campaign (#225) Fix #221. * Add more convenient lite-weight interfaces (#227) This PR introduces two simple and lite weight interfaces: - ping to trigger heartbeats without ticking, - status_ref to borrow the progress set instead of cloning. * *: bump to 0.4.2 (#228) * Bump to v0.4.3 (#231) * raft: leader respond to learner read index message (#220) Signed-off-by: nolouch <[email protected]> * Bump to v0.4.3 Signed-off-by: Neil Shen <[email protected]> * Request snapshot (#243) Signed-off-by: Neil Shen <[email protected]> * fix tests * cargo fmt * address comments.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If conf change remove a node, its vote should also be removed. Otherwise we can get the wrong number of agree votes and lead to an election failure.
The text was updated successfully, but these errors were encountered: