Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
raft: Really avoid scanning raft log in becomeLeader
I meant to do this in etcd-io#9073, but sent the PR before it was finished. The last log index is known directly; there is no need to fetch any entries here.
- Loading branch information