eolivelli commented on a change in pull request #12101: URL: https://github.com/apache/pulsar/pull/12101#discussion_r712358254
########## File path: managed-ledger/src/main/java/org/apache/bookkeeper/mledger/impl/ManagedLedgerFactoryImpl.java ########## @@ -207,6 +218,22 @@ public BookKeeper get(EnsemblePlacementPolicyConfig policy) { } } + private synchronized void handleMetadataStoreNotification(SessionEvent e) { + log.info("Received MetadataStore session event: {}", e); + + switch (e) { Review comment: Is it better to move 'switch' to some utility method? -- 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-unsubscr...@pulsar.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org