wuzhanpeng commented on a change in pull request #7111:
URL: https://github.com/apache/pulsar/pull/7111#discussion_r433583901
##########
File path:
managed-ledger/src/main/java/org/apache/bookkeeper/mledger/ManagedLedger.java
##########
@@ -472,4 +472,9 @@ void asyncSetProperties(Map<String, String> properties,
final AsyncCallbacks.Set
* @param promise
*/
void trimConsumedLedgersInBackground(CompletableFuture<?> promise);
+
+ /**
+ * Roll current ledger if it is full
+ */
+ void rollCurrentLedgerIfFull();
Review comment:
Now I feel a little confused. If we treat rollover as an internal task,
should `consumedLedgersMonitor` or `backlogQuotaChecker` be internal tasks as
well? Or is my understanding biased?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]