Skip to content

Commit

Permalink
feat(conf): add journalWriteData config to bk conf (apache#12093)
Browse files Browse the repository at this point in the history
Signed-off-by: Eric Shen <[email protected]>
  • Loading branch information
ericsyh authored Sep 20, 2021
1 parent 898582b commit 4b40735
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions conf/bookkeeper.conf
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,14 @@ journalWriteBufferSizeKB=64
# Should we remove pages from page cache after force write
journalRemoveFromPageCache=true

# Should the data be written on journal.
# By default, data is written on journal for durability of writes.
# Beware: while disabling data journaling in the Bookie journal might improve the bookie write performance, it will also
# introduce the possibility of data loss. With no journal, the write operations are passed to the storage engine
# and then acknowledged. In case of power failure, the affected bookie might lose the unflushed data. If the ledger
# is replicated to multiple bookies, the chances of data loss are reduced though still present.
journalWriteData=true

# Should the data be fsynced on journal before acknowledgment.
# By default, data sync is enabled to guarantee durability of writes.
# Beware: while disabling data sync in the Bookie journal might improve the bookie write performance, it will also
Expand Down

0 comments on commit 4b40735

Please sign in to comment.