mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Merge pull request #5921 from xiang90/r
raft: do not change RecentActive when resetState for progress
This commit is contained in:
commit
b2c1112288
@ -75,7 +75,6 @@ type Progress struct {
|
||||
|
||||
func (pr *Progress) resetState(state ProgressStateType) {
|
||||
pr.Paused = false
|
||||
pr.RecentActive = false
|
||||
pr.PendingSnapshot = 0
|
||||
pr.State = state
|
||||
pr.ins.reset()
|
||||
|
Loading…
x
Reference in New Issue
Block a user