-
Notifications
You must be signed in to change notification settings - Fork 10.2k
Closed
Description
Bug report criteria
- This bug report is not security related, security issues should be disclosed privately via etcd maintainers.
- This is not a support request or question, support requests or questions should be raised in the etcd discussion forums.
- You have read the etcd bug reporting guidelines.
- Existing open issues along with etcd frequently asked questions have been checked and this is not a duplicate.
What happened?
etcd_debugging_mvcc_watcher_total may become negative value due to a race condition. The issue was fixed in #19600.
Two problems/followups,
- The PR was merged before it being properly reviewed. The test needs to be enhanced using a failpoint. Refer to mvcc: avoid double decrement of watcher gauge on close/cancel race #19600 (comment)
- The DCO workflow somehow failed in automatically check-picked PRs, so we need to manually backport the PR to stable releases (including 3.4, 3.5 and 3.6).
cc @kjgorman @ivanvc @jmhbnz @serathius
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 hereEtcd 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