mattrpav commented on PR #1207:
URL: https://github.com/apache/activemq/pull/1207#issuecomment-2073055053

   One reason I thought iterating over the index was preferred vs seeking over 
the index was to skip over and not include any messages in the ackedAndPrepared 
collection.
   
   ```
       if (ackedAndPrepared != null && 
ackedAndPrepared.contains(entry.getValue().messageId)) {
           continue;
       }
   ```


-- 
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: gitbox-unsubscr...@activemq.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to