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



##########
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:
       However, I did make a mistake and did not consider its initial 
configuration. I think I should keep the configuration first, and then restore 
the configuration




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