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

New PR from https://github.com/coreos/etcd/pull/3575. This add `defer` to `s.mu`. Current code does not `Unlock` in the correct scope, I think. (Sorry, I accidentally deleted my fork so the changes might not sound continuous from my previous pull requests.)