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

[release-3.4] consistent-index not persisted when committing the member deletion operation #19571

Open
4 tasks done
ahrtr opened this issue Mar 10, 2025 · 1 comment
Open
4 tasks done

Comments

@ahrtr
Copy link
Member

ahrtr commented Mar 10, 2025

Bug report criteria

What happened?

Only release-3.4 has this issue.

When deleting a member, etcd will forcibly commit the transaction, but the consistent-index isn't persisted in such case. If etcd gets restarted or upgraded( 3.4 -> 3.5) right after deleting a member, etcd will re-apply the confChanges, but it shouldn't.

Since membership data isn't managed by mvcc, so it isn't that very serious.

It causes the failure of 3.5's case TestDowngradeUpgradeClusterOf3, when a generic verification (to verify the membership in v3store is in sync with v2store) is added in #19563.

What did you expect to happen?

.

How can we reproduce it (as minimally and precisely as possible)?

.

Anything else we need to know?

No response

Etcd version (please run commands below)

$ etcd --version
# paste output here

$ etcdctl version
# paste output here

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)

$ etcdctl member list -w table
# paste output here

$ etcdctl --endpoints=<member list> endpoint status -w table
# paste output here

Relevant log output

@ahrtr ahrtr added the type/bug label Mar 10, 2025
@ahrtr
Copy link
Member Author

ahrtr commented Mar 10, 2025

When deleting a member, etcd will forcibly commit the transaction, but the consistent-index isn't persisted in such case. If etcd gets restarted or upgraded( 3.4 -> 3.5) right after deleting a member, etcd will re-apply the confChanges, but it shouldn't.

The issue was introduced in #17238

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants