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

[GitHub] [bookkeeper] dlg99 commented on a diff in pull request #3710: [feature] Added api/v1/bookie/cluster_info REST API

dlg99 commented on code in PR #3710:
URL: https://github.com/apache/bookkeeper/pull/3710#discussion_r1055728783


##########
stream/server/src/main/java/org/apache/bookkeeper/stream/server/StorageServer.java:
##########
@@ -256,10 +260,19 @@ public static LifecycleComponent buildStorageServer(CompositeConfiguration conf,
 
             // Build http service
             if (bkServerConf.isHttpServerEnabled()) {
+                MetadataBookieDriver metadataDriver = BookieResources.createMetadataDriver(bkServerConf,

Review Comment:
   AFAICT, there is an internal cache in MetadataDrivers so if there is one already it will be reused



-- 
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@bookkeeper.apache.org

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