Skip to content

Commit

Permalink
Revert "ethdb/pebble: fsync for batch writes (ethereum#27522)"
Browse files Browse the repository at this point in the history
This reverts commit c42afc4.
  • Loading branch information
devopsbo3 committed Nov 10, 2023
1 parent 4a55d90 commit 01abf9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ethdb/pebble/pebble.go
Expand Up @@ -535,7 +535,7 @@ func (b *batch) Write() error {
if b.db.closed {
return pebble.ErrClosed
}
return b.b.Commit(pebble.Sync)
return b.b.Commit(pebble.NoSync)
}

// Reset resets the batch for reuse.
Expand Down

0 comments on commit 01abf9f

Please sign in to comment.