murong00 commented on a change in pull request #5985: [Issue 5935] Support 
multi pulsar clusters to use the same bk cluster
URL: https://github.com/apache/pulsar/pull/5985#discussion_r368290830
 
 

 ##########
 File path: 
pulsar-broker/src/main/java/org/apache/pulsar/PulsarClusterMetadataSetup.java
 ##########
 @@ -170,16 +170,11 @@ public static void main(String[] args) throws Exception {
         ZooKeeper localZk = initZk(arguments.zookeeper, 
arguments.zkSessionTimeoutMillis);
         ZooKeeper configStoreZk = initZk(arguments.configurationStore, 
arguments.zkSessionTimeoutMillis);
 
-        // Format BookKeeper ledger storage metadata
+        // Format BookKeeper stream storage metadata
         ServerConfiguration bkConf = new ServerConfiguration();
         bkConf.setZkServers(arguments.zookeeper);
         bkConf.setZkTimeout(arguments.zkSessionTimeoutMillis);
-        if (localZk.exists("/ledgers", false) == null // only format if 
/ledgers doesn't exist
 
 Review comment:
   just a mistake, modified.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to