Flush data. (#4536)

pull/4500/head
Konstantin 1 year ago committed by GitHub
parent 0d402e4d2c
commit 9f5768a799
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      cmd/harmony/dumpdb.go

@ -156,6 +156,7 @@ func (db *KakashiDB) copyKV(key, value []byte) {
db.toDBBatch.Put(key, value) db.toDBBatch.Put(key, value)
snapdbInfo.DumpedSize += uint64(len(key) + len(value)) snapdbInfo.DumpedSize += uint64(len(key) + len(value))
dumpPrint("copyKV", false) dumpPrint("copyKV", false)
db.flush()
} }
func (db *KakashiDB) flush() { func (db *KakashiDB) flush() {

Loading…
Cancel
Save