liangyepianzhou commented on a change in pull request #11494:
URL: https://github.com/apache/pulsar/pull/11494#discussion_r681410399



##########
File path: 
pulsar-broker/src/main/java/org/apache/pulsar/broker/service/BrokerService.java
##########
@@ -1232,6 +1232,7 @@ public void openLedgerComplete(ManagedLedger ledger, 
Object ctx) {
                                     preCreateSubForCompaction = ((SystemTopic) 
persistentTopic)
                                             
.preCreateSubForCompactionIfNeeded();
                                 }
+                                managedLedgerConfig.setCreateIfMissing(true);

Review comment:
       Thank you for pointing out.
   Can you see if there are any problems now?
   




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