The GitHub Actions job "Build and Run Tests by Maven" on 
rocketmq.git/feature/pop-orderly-attemptid-replay has succeeded.
Run started by GitHub user lizhimins (triggered by lizhimins).

Head commit for run:
43461f940c3478b0ac9210ff712fe786d5bf5931 / lizhimins <[email protected]>
[ISSUE #10827] fix(broker): only spin for the lock when the attemptId is 
registered in OrderInfo

Fifo pops with different attemptIds would be blocked by checkBlock even
after acquiring the lock, so spinning on contention only wastes request
threads while the lock may be held for seconds on slow paths. Restrict
the forced lock acquisition to requests whose attemptId is already
registered in OrderInfo, i.e. genuine in-flight retries of a previous
delivery of the same receive attempt.

Add ConsumerOrderInfoManager.isAttemptIdMatched to look up the attemptId
across the queues of the topic@group.

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

With regards,
GitHub Actions via GitBox

Reply via email to