forked from cockroachdb/cockroach
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libroach: use FlushWAL instead of SyncWAL
Tell RocksDB that we will manually flush the wal via the `manual_wal_flush` option. Replace `SyncWAL()` with `FlushWAL(true)`. We "sync" approximately half of writes. The effect of this change is to avoid calling `write(2)` on the writes which we are not syncing. Fixes cockroachdb#22443 Release note: None
- Loading branch information
1 parent
5914b07
commit a321424
Showing
2 changed files
with
2 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters