Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kvserver: log when acquiring lease as a draining node
Generally, draining nodes are not allowed to acquire leases. Additionally, replicas that are not Raft leaders are not allowed to acquire leases. This means that draining nodes have to be permitted to acquire leases for replicas that they are the Raft leaders for. This commit adds a verbose log event when a draining store acquires a lease because it is the Raft leader. Release note: none
- Loading branch information