-
Notifications
You must be signed in to change notification settings - Fork 243
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
learner can became leader after (request_leadership/yield_leadership) #553
Comments
Leaners should never be a leader in any circumstance. They neither initiate an election nor vote for others. Can you please share the full log of peer 5 so that I can see what happened during the leader election? |
Ah, you executed |
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We observe behavior, that if we run
request_leadership
on learner, it can actually became leader without change of it's "learner" statusFrom code comments:
From readonly(learner) documentation
https://github.com/eBay/NuRaft/blob/master/docs/readonly_member.md
readonly_member
, corrected that in some cases, it can became leader?The text was updated successfully, but these errors were encountered: