mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00

Revoke expects the BatchTx lock to be held when holding the TxnDeleter because it updates the lease bucket. The tests don't hold the lock so it may race with the backend commit loop. Fixes #7662