mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-03-28 13:52:57 +00:00
ethdb/pebble: use sync mode for pebble writes (#27615)
This commit is contained in:
parent
b4bc9b0db6
commit
4b90c4488d
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue