-
Notifications
You must be signed in to change notification settings - Fork 9.8k
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
Unexpected 'unhealthy cluster' when remove a downed member #15710
Comments
Interesting, I would expect that this should work assuming that you are removing a downed member. We should be able to maintain quorum in both old configuration (2/3) and new configuration (2/2). cc @chaochn47 as we are planning to add more tests in #15708 |
…re are majority members alive. It resolves: etcd-io#15710 The number of active members shouldn't minus 1 when the member to remove is dead. Signed-off-by: zzzzwc <tiddar@foxmail.com>
It resolves: etcd-io#15710 Fix mayRemoveMember still return ErrUnhealthy even if there are majority members alive. The number of active members shouldn't minus 1 when the member to remove is dead. Signed-off-by: zzzzwc <tiddar@foxmail.com>
It resolves: etcd-io#15710 Fix mayRemoveMember still return ErrUnhealthy even if there are majority members alive. The number of active members shouldn't minus 1 when the member to remove is dead. Signed-off-by: zzzzwc <tiddar@foxmail.com>
Thanks @zzzzwc for the report, do you have a repro and server logging? That will be very helpful. |
Through logs I found I made a mistake: I actually tried to remove an up member, and then I try to remove a down member,the API success as expected....., sorry for taking your time @serathius @chaochn47 |
What happened?
I have a 3 members etcd cluster, and then stop one of the members.
Then I call MemberRemove through client to remove the downed member, the api return 'etcdserver: unhealthy cluster'.
What did you expect to happen?
MemberRemove should success because there are still 2 members active.
How can we reproduce it (as minimally and precisely as possible)?
Make a 3 members etcd cluster stop one of them and then call MemberRemove, remove the stopped etcd.
Anything else we need to know?
No response
Etcd version (please run commands below)
Etcd configuration (command line flags or environment variables)
paste your configuration here
Etcd debug information (please run commands below, feel free to obfuscate the IP address or FQDN in the output)
Relevant log output
No response
The text was updated successfully, but these errors were encountered: