You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/10/18 05:18:02 UTC

[GitHub] [pulsar] codelipenghui commented on a diff in pull request #18072: [fix][broker] Fix unable to start multiple bookies for BKCluster

codelipenghui commented on code in PR #18072:
URL: https://github.com/apache/pulsar/pull/18072#discussion_r997727339


##########
pulsar-metadata/src/main/java/org/apache/pulsar/metadata/bookkeeper/BKCluster.java:
##########
@@ -201,13 +201,13 @@ protected void cleanupTempDirs() throws Exception {
     private ServerConfiguration newServerConfiguration(int index) throws Exception {
         File dataDir;
         if (clusterConf.dataDir != null) {
-            dataDir = new File(clusterConf.dataDir);
+            dataDir = new File(clusterConf.dataDir + "/" + index);

Review Comment:
   Will this break the existing pulsar standalone? 



-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org