-
Notifications
You must be signed in to change notification settings - Fork 9.7k
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
index out of range panic on MemberRemove #5482
Comments
Can you provide the team with a reduced test case that can consistently reproduce what you're seeing? |
@bmizerany I don't know the etcd test case framework, but call whatever you do to startup a server and then call the memberapi as i mentioned and it should panic in v3. If you can't reproduce, let me know. |
FWIW i'm using v.3.0.0-beta.0 |
This seems fixed in master branch by #5366. Xiang should know better. |
@purpleidea Please try with the master branch. I believe this is fixed by #5366 already. |
Ah, great to hear. Sorry for the dupe. If there is a branch that is always meant to work and be building that would be better for V3 testing and whatnot, please let me know. Thanks again! |
I've been able to trigger the following panic:
What follows is a long messy trace. The code I have that causes this embeds the etcd server, and as soon as I have cleaned it up a little I will post it, but maybe it's obvious to someone familiar with the code base what the bug is.
I think this might be due to me calling MemberRemove on myself, the last machine in the cluster. I can work around that, but I think it probably shouldn't panic.
The code it refers to is the mci:= line...
/cc @bmizerany because mentioned here in the code.
Cheers!
The text was updated successfully, but these errors were encountered: