diff --git a/cmd/harmony/dumpdb.go b/cmd/harmony/dumpdb.go index ab2e58e3c..fd506ee05 100644 --- a/cmd/harmony/dumpdb.go +++ b/cmd/harmony/dumpdb.go @@ -156,6 +156,7 @@ func (db *KakashiDB) copyKV(key, value []byte) { db.toDBBatch.Put(key, value) snapdbInfo.DumpedSize += uint64(len(key) + len(value)) dumpPrint("copyKV", false) + db.flush() } func (db *KakashiDB) flush() {