liangyuanpeng commented on code in PR #17077:
URL: https://github.com/apache/pulsar/pull/17077#discussion_r948620701


##########
pulsar-broker/src/main/java/org/apache/pulsar/PulsarStandalone.java:
##########
@@ -434,10 +438,13 @@ public void close() {
         }
     }
 
-
-    private void startBookieWithRocksDB() throws Exception {
-        log.info("Starting BK with RocksDb metadata store");
-        String metadataStoreUrl = "rocksdb://" + 
Paths.get(metadataDir).toAbsolutePath();
+    private void startBookieWithMetadataStore() throws Exception {
+        if(StringUtils.isBlank(metadataStoreUrl)){
+            log.info("Starting BK with RocksDb metadata store");
+            metadataStoreUrl = "rocksdb://" + 
Paths.get(metadataDir).toAbsolutePath();
+        }else{
+            log.info("Starting BK with metadata store:",metadataStoreUrl);
+        }

Review Comment:
   Thanks for your review and i'm busy for otherthing, pick it up in  the next 
week maybe.



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

Reply via email to