Compare commits
2 Commits
16e740566c
...
9681f2fca8
Author | SHA1 | Date |
---|---|---|
|
9681f2fca8 | |
|
42088e52af |
|
@ -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 New Issue