You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 21 days if no further activity occurs. Thank you for your contributions.
What happened?
Related to #13940
In LeaseLeases function, newHeader is called at the end and there is no synchronization.
https://github.com/etcd-io/etcd/blob/main/server/etcdserver/v3_server.go#L399
This can cause a situation when list of leases in the body doesn't include new lease reported by revision in the header.
The same is true for any other function that's using newHeader
What did you expect to happen?
Expected Revision in the header to be the latest revision among return leases
How can we reproduce it (as minimally and precisely as possible)?
might be hard to reproduce
try running TestLeaseGrantAndList
Anything else we need to know?
No response
Etcd version (please run commands below)
3.6 latest main branch
Etcd configuration (command line flags or environment variables)
paste your configuration here
Etcd debug information (please run commands blow, 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: