mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-17 09:23:48 +00:00
core/state/snapshot: soften log message when snapshot generation is paused
This commit is contained in:
parent
aec1964410
commit
42088e52af
1 changed files with 1 additions and 1 deletions
|
|
@ -491,7 +491,7 @@ func (dl *diskLayer) checkAndFlush(ctx *generatorContext, current []byte) error
|
||||||
dl.lock.Unlock()
|
dl.lock.Unlock()
|
||||||
|
|
||||||
if abort != nil {
|
if abort != nil {
|
||||||
ctx.stats.Log("Aborting state snapshot generation", dl.root, current)
|
ctx.stats.Log("Pausing state snapshot generation", dl.root, current)
|
||||||
return newAbortErr(abort) // bubble up an error for interruption
|
return newAbortErr(abort) // bubble up an error for interruption
|
||||||
}
|
}
|
||||||
// Don't hold the iterators too long, release them to let compactor works
|
// Don't hold the iterators too long, release them to let compactor works
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue