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

pull/27636/head
rjl493456442 1 year ago committed by GitHub
parent b4bc9b0db6
commit 4b90c4488d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      ethdb/pebble/pebble.go

@ -279,7 +279,7 @@ func (d *Database) Put(key []byte, value []byte) error {
if d.closed {
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.

Loading…
Cancel
Save