You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by si...@apache.org on 2018/07/06 15:37:31 UTC

[incubator-pulsar] branch master updated: Issue 1252: Enable bookie autorecovery daemon by default (#2096)

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

sijie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-pulsar.git


The following commit(s) were added to refs/heads/master by this push:
     new 3e9bac6  Issue 1252: Enable bookie autorecovery daemon by default (#2096)
3e9bac6 is described below

commit 3e9bac60e4bc5521ed3864dee7f14efd6e5bc0d1
Author: Sijie Guo <gu...@gmail.com>
AuthorDate: Fri Jul 6 08:37:29 2018 -0700

    Issue 1252: Enable bookie autorecovery daemon by default (#2096)
    
    *Motivation*
    
    Fixes #1252
    
    AutoRecovery daemon should be enabled by default for new users.
    
    *Changes*
    
    Turn on `autoRecoveryDaemonEnabled`. uncommeted recovery related settings to allow them being configured in containers.
---
 conf/bookkeeper.conf | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/conf/bookkeeper.conf b/conf/bookkeeper.conf
index 6742c36..dedb7d8 100644
--- a/conf/bookkeeper.conf
+++ b/conf/bookkeeper.conf
@@ -229,13 +229,13 @@ rereplicationEntryBatchSize=5000
 # Auto-replication
 # The grace period, in seconds, that the replication worker waits before fencing and
 # replicating a ledger fragment that's still being written to upon bookie failure.
-# openLedgerRereplicationGracePeriod=30
+openLedgerRereplicationGracePeriod=30
 
 # Whether the bookie itself can start auto-recovery service also or not
-# autoRecoveryDaemonEnabled=false
+autoRecoveryDaemonEnabled=true
 
 # How long to wait, in seconds, before starting auto recovery of a lost bookie
-# lostBookieRecoveryDelay=0
+lostBookieRecoveryDelay=0
 
 #############################################################################
 ## Netty server settings