-
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
Investigate why MemberReplace failpoint flakes on release-3.4 #18929
Comments
I can take a look at this. |
Without PR #11639, MemberList returns local membership configuration without linearizable guarantee. The removed member may show up in the member list response. The issue is fixed in 3.5 and above so it shall be specific to 3.4. Release 3.4 etcd/etcdserver/api/v3rpc/member.go Lines 90 to 93 in 435ac80
Release 3.5 etcd/server/etcdserver/api/v3rpc/member.go Lines 90 to 98 in 601a884
|
Thanks for the analysis. One workaround is to issue a linearizable read request in between for 3.4. |
Didn't we want to backport it to v3.4? #11639 (comment) |
Better not since it changes the proto buffer, also we haven't seen any related production issue in 3.4 so far. But I am not strongly against it as it's a compatible change, see #11639 (comment) |
Bug report criteria
What happened?
In last robustness meeting we identified 3 flakes for memberReplace
All happening on release-3.4 and TestRobustnessExploratory/KubernetesHighTraffic/ClusterOfSize3/MemberReplace test
What did you expect to happen?
Issue not being specific to release-3.4
How can we reproduce it (as minimally and precisely as possible)?
There is no way to select failpoints via test name, but you can modify
allFailpoints
in test/robustness/failpoint/failpoint.go to leave only MemberReplaceAnd run it with
GO_TEST_FLAGS='-v --run TestRobustnessExploratory/KubernetesHighTraffic/ClusterOfSize3 --count 100 --failfast --timeout 1h' make test-robustness-release-3.4
Anything else we need to know?
No response
Etcd version (please run commands below)
release-3.4 branch
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: