Skip to content

Commit

Permalink
[raft] fix logging bug (#8008)
Browse files Browse the repository at this point in the history
  • Loading branch information
luluz66 authored Dec 4, 2024
1 parent 70e2531 commit caf38a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion enterprise/server/raft/replica/replica.go
Original file line number Diff line number Diff line change
Expand Up @@ -757,7 +757,7 @@ func (sm *Replica) loadReplicaState(db ReplicaReader) error {
return status.FailedPreconditionErrorf("[%s] last applied not moving forward: %d > %d", sm.name(), sm.lastAppliedIndex, lastStoredIndex)
}
sm.lastAppliedIndex = lastStoredIndex
sm.log.Infof("[%s] loaded replica state, lastAppliedIndex=%d", sm.lastAppliedIndex)
sm.log.Infof("[%s] loaded replica state, lastAppliedIndex=%d", sm.name(), sm.lastAppliedIndex)
return nil
}

Expand Down

0 comments on commit caf38a0

Please sign in to comment.