Unverified Commit 4b90c448 authored by rjl493456442's avatar rjl493456442 Committed by GitHub

ethdb/pebble: use sync mode for pebble writes (#27615)

parent b4bc9b0d
...@@ -279,7 +279,7 @@ func (d *Database) Put(key []byte, value []byte) error { ...@@ -279,7 +279,7 @@ func (d *Database) Put(key []byte, value []byte) error {
if d.closed { if d.closed {
return pebble.ErrClosed return pebble.ErrClosed
} }
return d.db.Set(key, value, pebble.NoSync) return d.db.Set(key, value, pebble.Sync)
} }
// Delete removes the key from the key-value store. // Delete removes the key from the key-value store.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment