Skip to content

Commit

Permalink
Merge branch 'restore-remote-fix' into release-2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
lni committed Mar 16, 2019
2 parents daef61e + 73092ad commit 132c4c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/rsm/statemachine.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,8 @@ func (s *StateMachine) RecoverFromSnapshot(rec Commit) (uint64, error) {
rec.InitialSnapshot); !recovered {
return idx, err
}
s.setBatchedLastApplied(snapshot.Index)
s.node.RestoreRemotes(snapshot)
s.setBatchedLastApplied(snapshot.Index)
plog.Infof("%s snapshot %d restored, members %v",
s.describe(), snapshot.Index, snapshot.Membership.Addresses)
return snapshot.Index, nil
Expand Down

0 comments on commit 132c4c7

Please sign in to comment.