From 9f5768a799cc036953bb19a42654b578fbb46804 Mon Sep 17 00:00:00 2001 From: Konstantin <355847+Frozen@users.noreply.github.com> Date: Mon, 16 Oct 2023 23:01:57 -0800 Subject: [PATCH] Flush data. (#4536) --- cmd/harmony/dumpdb.go | 1 + 1 file changed, 1 insertion(+) 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() {