mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
Revert "ethdb/pebble: fsync for batch writes (#27522)"
This reverts commit c42afc41c9.
This commit is contained in:
parent
4a55d9057d
commit
01abf9f4d2
1 changed files with 1 additions and 1 deletions
|
|
@ -535,7 +535,7 @@ func (b *batch) Write() error {
|
||||||
if b.db.closed {
|
if b.db.closed {
|
||||||
return pebble.ErrClosed
|
return pebble.ErrClosed
|
||||||
}
|
}
|
||||||
return b.b.Commit(pebble.Sync)
|
return b.b.Commit(pebble.NoSync)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Reset resets the batch for reuse.
|
// Reset resets the batch for reuse.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue