-
Notifications
You must be signed in to change notification settings - Fork 96
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
Exclude non_voter
server from quorum calculation
#427
Conversation
You got it right. For other reviewers context, In this light, @sile would you be able to re-work counting functions to include all possible states? Perhaps invert it to only include -type ra_membership() :: voter | promotable | non_voter | unknown. |
@illotum thank you for chiming in! |
This PR has received one approval (thanks, @michaelklishin!). What is holding it back from being merged? |
@sile, please be patient. Team RabbitMQ and @kjnilsson in particular are busy working on higher-priority work, some of which is for customers who pay for RabbitMQ. We will merge this PR when time allows. |
@lukebakken I see. Thank you for sharing the reason! |
I don't know if the next release will be |
Proposed Changes
In my understanding,
non_voter
servers (introduced in #375) have to be handled as same aspromotable
servers except for the latter could promote tovoter
.However, the current implementation seems to include
non_voter
servers in the quorum (whilepromotable
servers are excluded from that).This PR fixes the issue by excluding
non_voter
server from quorum calculation.Feel free to close this PR if I misunderstand something.
Types of Changes
What types of changes does your code introduce to this project?
Put an
x
in the boxes that applyChecklist
Put an
x
in the boxes that apply. You can also fill these out after creatingthe PR. If you're unsure about any of them, don't hesitate to ask on the
mailing list. We're here to help! This is simply a reminder of what we are
going to look for before merging your code.
CONTRIBUTING.md
documentFurther Comments
If this is a relatively large or complex change, kick off the discussion by
explaining why you chose the solution you did and what alternatives you
considered, etc.