rdhabalia commented on a change in pull request #4066: Allow to configure the
managed ledger cache eviction frequency
URL: https://github.com/apache/pulsar/pull/4066#discussion_r277919368
##########
File path:
managed-ledger/src/main/java/org/apache/bookkeeper/mledger/impl/ManagedLedgerImpl.java
##########
@@ -914,63 +909,14 @@ public long getTotalSize() {
@Override
public void checkBackloggedCursors() {
-
// activate caught up cursors
cursors.forEach(cursor -> {
- if (cursor.getNumberOfEntries() < maxActiveCursorBacklogEntries) {
+ if (cursor.getNumberOfEntries() <
backloggedCursorThresholdEntries) {
Review comment:
👍
----------------------------------------------------------------
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]
With regards,
Apache Git Services