mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-23 13:16:42 +00:00
Update log message for history indexer recovery
This commit is contained in:
parent
8a229c8d48
commit
cb669c1e32
1 changed files with 1 additions and 1 deletions
|
|
@ -328,12 +328,12 @@ func newIndexIniter(disk ethdb.KeyValueStore, freezer ethdb.AncientStore, lastID
|
|||
if metadata != nil {
|
||||
initer.indexed.Store(metadata.Last)
|
||||
recover = metadata.Last > lastID
|
||||
log.Info("State history indexer is recovering", "history", lastID, "index", metadata.Last)
|
||||
}
|
||||
|
||||
// Launch background indexer
|
||||
initer.wg.Add(1)
|
||||
if recover {
|
||||
log.Info("History indexer is recovering", "history", lastID, "indexed", metadata.Last)
|
||||
go initer.recover(lastID)
|
||||
} else {
|
||||
go initer.run(lastID)
|
||||
|
|
|
|||
Loading…
Reference in a new issue