From 5ab7069aa04f2a8427d1646de231fb55118176fe Mon Sep 17 00:00:00 2001 From: Philip O'Toole Date: Sun, 10 Sep 2023 10:57:33 -0400 Subject: [PATCH] Update store.go --- store/store.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/store/store.go b/store/store.go index 795757c4..761ef97d 100644 --- a/store/store.go +++ b/store/store.go @@ -1577,9 +1577,8 @@ func (s *Store) Apply(l *raft.Log) (e interface{}) { if !s.firstLogApplied { s.firstLogApplied = true - s.logger.Printf("first log applied from index %d", l.Index) + s.logger.Printf("first log applied since node start, log at index %d", l.Index) } - if l.Index <= s.lastCommandIdxOnOpen { // In here means at least one command entry was in the log when the Store // opened.