liangyepianzhou commented on a change in pull request #11494:
URL: https://github.com/apache/pulsar/pull/11494#discussion_r681420191
##########
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:
Sorry, Ran. The above is my ill-conceived.
I have another discussion with congbo.
After this topic has been created, the field will have no meaning. And each
subscription of transaction needs createIfMsiing=true to create PendingAck. So
it is also feasible to set it to true directly in Completely
--
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]