Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
raft: remove unneeded MaybeUpdate call
The Progress.MaybeUpdate is only needed on the leader. In the raft.restore() method, the state is either Follower or Candidate. Non-leader states don't have a replication flow, and don't need to track Match/Next index. Signed-off-by: Pavel Kalinnikov <[email protected]>
- Loading branch information