diff --git a/blockstore/splitstore/markset_badger.go b/blockstore/splitstore/markset_badger.go index d2303dae25d..b39836ba7d6 100644 --- a/blockstore/splitstore/markset_badger.go +++ b/blockstore/splitstore/markset_badger.go @@ -62,7 +62,9 @@ func (e *BadgerMarkSetEnv) Create(name string, sizeHint int64) (MarkSet, error) opts := badger.DefaultOptions(path) opts.SyncWrites = false + opts.CompactL0OnClose = false opts.Compression = options.None + opts.ValueLogFileSize = 10 << 30 opts.Logger = &badgerLogger{ SugaredLogger: log.Desugar().WithOptions(zap.AddCallerSkip(1)).Sugar(), skip2: log.Desugar().WithOptions(zap.AddCallerSkip(2)).Sugar(),