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

Joining member should ignore priority #270

Merged
merged 1 commit into from
Nov 20, 2021
Merged

Conversation

greensky00
Copy link
Contributor

  • When a new member is added, its election timer is disabled until it
    fully catches up with the leader. Suppose somehow the leader has a
    problem so that a leader election is initiated. In that case, the
    new member may refuse the vote request if the candidate's priority is
    lower than its priority. Since the election timer is disabled, there
    is no way to decrease the target priority of the new member;
    consequently, the leader election will not succeed forever.

  • To avoid such a situation, the new member in catch-up mode should
    ignore priority for the vote.

* When a new member is added, its election timer is disabled until it
fully catches up with the leader. Suppose somehow the leader has a
problem so that a leader election is initiated. In that case, the
new member may refuse the vote request if the candidate's priority is
lower than its priority. Since the election timer is disabled, there
is no way to decrease the target priority of the new member;
consequently, the leader election will not succeed forever.

* To avoid such a situation, the new member in catch-up mode should
ignore priority for the vote.
@greensky00 greensky00 merged commit 0073f55 into eBay:master Nov 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant