coderzc commented on code in PR #18072:
URL: https://github.com/apache/pulsar/pull/18072#discussion_r997833645
##########
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:
That's true, I updated the code to be compatible with the original data
directory.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]