poorbarcode commented on code in PR #24881:
URL: https://github.com/apache/pulsar/pull/24881#discussion_r2487293264


##########
pulsar-broker/src/main/java/org/apache/pulsar/broker/service/persistent/PersistentMessageExpiryMonitor.java:
##########
@@ -231,6 +231,10 @@ public void markDeleteFailed(ManagedLedgerException 
exception, Object ctx) {
     @Override
     public void findEntryComplete(Position position, Object ctx) {
         if (position != null) {
+            var markDeletedPosition = cursor.getMarkDeletedPosition();
+            if (markDeletedPosition != null && 
markDeletedPosition.compareTo(position) >= 0) {

Review Comment:
   See more context here: https://github.com/apache/pulsar/pull/24607



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