The GitHub Actions job "Build and Run Tests by Maven" on rocketmq.git/develop 
has failed.
Run started by GitHub user cherryMJY (triggered by lizhimins).

Head commit for run:
9a5c1eb6feeb95bdd6f50a603c3906e13d3d6b7f / mengjiaying 
<[email protected]>
[ISSUE #transaction-deadloop] Fix infinite loop in transaction message check 
when putBackHalfMsgQueue fails

Problem: When putBackHalfMsgQueue() fails during transaction message check, the 
code executes continue without updating the offset, causing an infinite loop 
that blocks the entire transaction message processing for up to 60 seconds.

Solution: Add limited retry mechanism (PUT_BACK_RETRY_TIMES = 3) with 
exponential backoff. Skip the message after retries are exhausted and update 
offset to continue. Add detailed error log for troubleshooting.

Impact: Before - 60s blocking per failed message with CPU spinning. After - 
~300ms per failed message then continue.

Report URL: https://github.com/apache/rocketmq/actions/runs/23426296236

With regards,
GitHub Actions via GitBox

Reply via email to