-
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
Automated cherry pick of #11194 on release-3.4 #11200
Automated cherry pick of #11194 on release-3.4 #11200
Conversation
Hmm, are test failures related? Is your 3.4 branch latest? |
Integration test failure is not related:
Haven't seen this e2e test failure before:
|
e2e tests also failed for recent commits on release-3.4. Let me take a look. |
Ah, my commit should have broke it. Can we update this in 3.4 branch? https://github.com/etcd-io/etcd/blob/master/tests/semaphore.test.bash#L17 Try version 3.4.1? |
With this version override, cluster version test fails because in the test we do not trim etcd/tests/e2e/metrics_test.go Line 52 in d08bb07
|
right, let me quick-fix |
Should be fixed via c91a6bf. |
I actually found some inconsistency in our code base. Should the cluster version be "3.4" or 3.4.0"? In some places cluster version is trimmed via: Line 50 in a0d2427
Sometimes (for example in metrics endpoint) we keep the patch version: etcd/etcdserver/api/membership/cluster.go Line 576 in c2f2309
|
The patch version is truncated because the metrics is "cluster_version". Maybe we can just strip out the patch version for this metrics (e.g. |
Sounds good. Let's use "major.minor" for the "cluster_version" metrics. |
Cherry pick of #11194 on release-3.4.
#11194: etcdctl: fix member add command