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

Automated cherry pick of #11640 on release-3.4 #11644

Conversation

jingyih
Copy link
Contributor

@jingyih jingyih commented Feb 22, 2020

Cherry pick of #11640 on release-3.4.

#11640: etcdserver: fix quorum calculation when promoting a learner

When promoting a learner member we should not count already a voting
member, but take only into account the number of existing voting
members and their current status (started, unstarted) when taking the
decision whether a learner member can be promoted.

Before this change, it was impossible to grow from a quorum N to a N+1
through promoting a learning member.

Fixes: etcd-io#11633
@jingyih jingyih changed the title Automated cherry pick of #11640 Automated cherry pick of #11640 on release-3.4 Feb 22, 2020
Copy link
Member

@spzala spzala left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@jingyih jingyih merged commit 7862f6e into etcd-io:release-3.4 Feb 23, 2020
jingyih added a commit that referenced this pull request Feb 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants