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/11/02 07:53:12 UTC

[GitHub] [pulsar] coderzc commented on a diff in pull request #18293: [fix][broker][schema]fix creating lots of ledgers for the same schema

coderzc commented on code in PR #18293:
URL: https://github.com/apache/pulsar/pull/18293#discussion_r1011328443


##########
pulsar-broker/src/main/java/org/apache/pulsar/broker/service/schema/BookkeeperSchemaStorage.java:
##########
@@ -580,6 +550,7 @@ private CompletableFuture<LedgerHandle> createLedger(String schemaId) {
     @NotNull
     private CompletableFuture<LedgerHandle> openLedger(Long ledgerId) {
         final CompletableFuture<LedgerHandle> future = new CompletableFuture<>();
+        final long start = System.nanoTime();

Review Comment:
   Why need this line?



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