zjncs opened a new pull request, #11035: URL: https://github.com/apache/rocketmq/pull/11035
Fixes #10870 ProcessQueue.putMessage now updates queueOffsetMax with Math.max instead of overwriting it for every inserted message. An out-of-order batch can therefore no longer make removeMessage return a stale next offset. Added a regression test inserting offsets 10 then 5 and asserting the drained next offset is 11. Verification: git diff --check passed; Maven unavailable locally, CI should run ProcessQueueTest/client checks. AI-assisted contribution. -- 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]
