-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Open
Description
Another difference is
which is important for PIP-379. It might need to be optimized so that it's run asynchronously and batched in a way that multiple mark delete updates would only run for the latest update at most once per second.Lines 361 to 370 in f2618c1
// remove possible expired messages from redelivery tracker and pending acks Position markDeletePosition = cursor.getMarkDeletedPosition(); if (lastMarkDeletePositionBeforeReadMoreEntries != markDeletePosition) { redeliveryMessages.removeAllUpTo(markDeletePosition.getLedgerId(), markDeletePosition.getEntryId()); for (Consumer consumer : consumerList) { consumer.getPendingAcks() .removeAllUpTo(markDeletePosition.getLedgerId(), markDeletePosition.getEntryId()); } lastMarkDeletePositionBeforeReadMoreEntries = markDeletePosition; }
Metadata
Metadata
Assignees
Labels
No labels