flush implicit writes before starting compaction
This commit is contained in:
parent
a29947d47c
commit
7f473f56eb
@ -879,6 +879,7 @@ func (s *SplitStore) compact(curTs *types.TipSet) {
|
|||||||
log.Infow("current mark set size estimate", "size", s.markSetSize)
|
log.Infow("current mark set size estimate", "size", s.markSetSize)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
s.flushImplicitWrites(false)
|
||||||
start := time.Now()
|
start := time.Now()
|
||||||
err = s.doCompact(curTs)
|
err = s.doCompact(curTs)
|
||||||
took := time.Since(start).Milliseconds()
|
took := time.Since(start).Milliseconds()
|
||||||
|
Loading…
Reference in New Issue
Block a user