The GitHub Actions job "CodeQL Analysis" on rocketmq.git/fix-11047-timer-attempt-scoped has succeeded. Run started by GitHub user Drifter-yh (triggered by Drifter-yh).
Head commit for run: 1682c78066f9b3215b78209e7829288da43b177a / Drifter <[email protected]> [ISSUE #11047] Scope timer enqueue completion to each retry attempt TimerEnqueuePutService retried the whole batch whenever a single request failed, so requests whose doEnqueue had already succeeded were enqueued again. Every retry appended another TimerLog unit for the same message and the scheduled message was delivered once per redundant unit. Replace the shared latch/released/succ fields of TimerRequest with an Attempt object. Each retry round re-arms the request with a new attempt, and the dequeue pipeline releases the attempt it was handed, so a late release from a previous owner can never complete the attempt that replaced it. The retry round now only reprocesses requests whose current attempt has not succeeded, and waits for a previous attempt that is still owned by the dequeue pipeline before reusing the request. This prevents a concurrent second enqueue while the previous owner may still deliver the message. Report URL: https://github.com/apache/rocketmq/actions/runs/45199345554 With regards, GitHub Actions via GitBox
