The GitHub Actions job "Coverage" 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 <[email protected]>
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 <[email protected]>

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

With regards,
GitHub Actions via GitBox

Reply via email to