You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by mm...@apache.org on 2019/03/23 22:21:41 UTC

[pulsar] 01/01: By default use `journalFormatVersionToWrite=5` for Bookie journal

This is an automated email from the ASF dual-hosted git repository.

mmerli pushed a commit to branch merlimat-patch-4
in repository https://gitbox.apache.org/repos/asf/pulsar.git

commit f348f630c00e13693e7706142c0069ec3eaeafb4
Author: Matteo Merli <mm...@apache.org>
AuthorDate: Sat Mar 23 15:21:33 2019 -0700

    By default use `journalFormatVersionToWrite=5` for Bookie journal
---
 conf/bookkeeper.conf | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/conf/bookkeeper.conf b/conf/bookkeeper.conf
index 337d603..a04381e 100644
--- a/conf/bookkeeper.conf
+++ b/conf/bookkeeper.conf
@@ -273,16 +273,19 @@ serverTcpNoDelay=true
 #############################################################################
 
 # The journal format version to write.
-# Available formats are 1-5:
+# Available formats are 1-6:
 # 1: no header
 # 2: a header section was added
 # 3: ledger key was introduced
 # 4: fencing key was introduced
 # 5: expanding header to 512 and padding writes to align sector size configured by `journalAlignmentSize`
-# By default, it is `4`. If you'd like to enable `padding-writes` feature, you can set journal version to `5`.
+# 6: persisting explicitLac is introduced
+# By default, it is `6`.
+# If you'd like to disable persisting ExplicitLac, you can set this config to < `6` and also
+# fileInfoFormatVersionToWrite should be set to 0. If there is mismatch then the serverconfig is considered invalid.
 # You can disable `padding-writes` by setting journal version back to `4`. This feature is available in 4.5.0
 # and onward versions.
-# journalFormatVersionToWrite=4
+journalFormatVersionToWrite=5
 
 # Max file size of journal file, in mega bytes
 # A new journal file will be created when the old one reaches the file size limitation