You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by GitBox <gi...@apache.org> on 2026/10/08 04:16:52 UTC

[GH] (rocketmq/fix/pop-reconsume-delay-level-bound): Workflow run "CodeQL Analysis" failed!

The GitHub Actions job "CodeQL Analysis" on rocketmq.git/fix/pop-reconsume-delay-level-bound has failed.
Run started by GitHub user zjncs (triggered by zjncs).

Head commit for run:
c1376f8e210551750db1222961e63b51927d2550 / zjncs <18...@163.com>
fix(client): clamp the pop retry delay level when a message is younger than the first level

When a pop message reached maxReconsumeTimes while younger than
delayLevelTable[0], the descending scan in checkNeedAckOrDelay exited
with delayLevel == -1 and changePopInvisibleTime indexed
delayLevelTable[-1] before its try block, throwing
ArrayIndexOutOfBoundsException out of processConsumeResult. The consume
task then died without acking or rescheduling the remaining messages of
the batch. Clamp the level to 0, which changePopInvisibleTime already
maps to the message's reconsumeTimes.

Signed-off-by: zjncs <18...@163.com>

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

With regards,
GitHub Actions via GitBox