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/bookkeeper.git


The following commit(s) were added to refs/heads/master by this push:
     new 1e63756  ZkRegistrationManager: add log line with root path for 
prepareFormat
1e63756 is described below

commit 1e63756bde3a64ce787275fb645297d7d3f79954
Author: Samuel Just <[email protected]>
AuthorDate: Fri Jan 19 01:15:13 2018 -0800

    ZkRegistrationManager: add log line with root path for prepareFormat
    
    Useful for auditability.
    
    (bug W-4026563)
    Signed-off-by: Zhimeng Shi <zshisalesforce.com>
    [Updated for current patch]
    Signed-off-by: Samuel Just <sjustsalesforce.com>
    
    Author: Samuel Just <[email protected]>
    
    Reviewers: Sijie Guo <[email protected]>, Venkateswararao Jujjuri (JV) <None>
    
    This closes #1015 from athanatos/forupstream/logs1/format
---
 .../main/java/org/apache/bookkeeper/discover/ZKRegistrationManager.java | 2 ++
 1 file changed, 2 insertions(+)

diff --git 
a/bookkeeper-server/src/main/java/org/apache/bookkeeper/discover/ZKRegistrationManager.java
 
b/bookkeeper-server/src/main/java/org/apache/bookkeeper/discover/ZKRegistrationManager.java
index 724e1aa..37aea09 100644
--- 
a/bookkeeper-server/src/main/java/org/apache/bookkeeper/discover/ZKRegistrationManager.java
+++ 
b/bookkeeper-server/src/main/java/org/apache/bookkeeper/discover/ZKRegistrationManager.java
@@ -426,6 +426,8 @@ public class ZKRegistrationManager implements 
RegistrationManager {
             .connectString(conf.getZkServers())
             .sessionTimeoutMs(conf.getZkTimeout())
             .build()) {
+
+            log.info("Formatting ZooKeeper metadata, ledger root path: {}", 
conf.getZkLedgersRootPath());
             boolean ledgerRootExists = null != zk.exists(
                 conf.getZkLedgersRootPath(), false);
             boolean availableNodeExists = null != zk.exists(

-- 
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].

Reply via email to