Skip to content

Commit

Permalink
raft: do not change RecentActive when resetState for progress
Browse files Browse the repository at this point in the history
  • Loading branch information
xiang90 committed Jul 12, 2016
1 parent ea0a569 commit eb08f22
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion raft/progress.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit eb08f22

Please sign in to comment.