Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
leases: Move lease sorting outside of lock
Because the leases were sorted inside UnsafeLeases() the lessor mutex ended up being locked while the whole map was sorted. This pulls the soring outside of the lock, per feedback on etcd-io#9699
- Loading branch information