Skip to content

Commit

Permalink
Upgrade to bk-4.3.1.83-yahoo to expose journalSyncData option (#923)
Browse files Browse the repository at this point in the history
  • Loading branch information
merlimat committed Nov 29, 2017
1 parent 75de0a9 commit 2cca6ca
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
8 changes: 8 additions & 0 deletions conf/bookkeeper.conf
Expand Up @@ -142,6 +142,14 @@ journalWriteBufferSizeKB=64
# Should we remove pages from page cache after force write
journalRemoveFromPageCache=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
# introduce the possibility of data loss. With no sync, the journal entries are written in the OS page cache but
# not flushed to disk. 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.
journalSyncData=true

# Should we group journal force writes, which optimize group commit
# for higher throughput
journalAdaptiveGroupWrites=true
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Expand Up @@ -106,15 +106,15 @@ flexible messaging model and an intuitive client API.</description>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>

<bookkeeper.version>4.3.1.82-yahoo</bookkeeper.version>
<bookkeeper.version>4.3.1.83-yahoo</bookkeeper.version>
<zookeeper.version>3.4.10</zookeeper.version>
<netty.version>4.1.12.Final</netty.version>
<storm.version>1.0.5</storm.version>
<jetty.version>9.3.11.v20160721</jetty.version>
<athenz.version>1.7.17</athenz.version>
<prometheus.version>0.0.23</prometheus.version>
<aspectj.version>1.8.9</aspectj.version>
<rocksdb.version>5.5.5</rocksdb.version>
<rocksdb.version>5.8.6</rocksdb.version>
<slf4j.version>1.7.25</slf4j.version>
<bouncycastle.version>1.55</bouncycastle.version>
</properties>
Expand Down

0 comments on commit 2cca6ca

Please sign in to comment.