yuluo-yx opened a new issue, #10852:
URL: https://github.com/apache/rocketmq/issues/10852

   ### Description
   
   PopReviveService builds its checkpoint list with a comparator that subtracts 
two long revive offsets and casts the difference to int. Offsets separated by 
more than Integer.MAX_VALUE can be reversed, causing mergeAndRevive to process 
checkpoints in the wrong order.
   
   ### Expected behavior
   
   Compare revive offsets with Long.compare so checkpoint order remains 
ascending across the full long range.


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