The GitHub Actions job "Misspell Check" on 
rocketmq.git/fix/consume-queue-estimate-null-ext has failed.
Run started by GitHub user zjncs (triggered by zjncs).

Head commit for run:
c96475b3e3f82add2c17acfa8f48f01c04737eba / zjncs <[email protected]>
[ISSUE #S2] Guard against a missing ext unit in 
ConsumeQueue.estimateMessageCount

estimateMessageCount unconditionally dereferences the ext unit when the
consume queue ext is enabled. The stored tagsCode can legitimately be a
raw value instead of an ext address (entries written while the ext was
disabled, or persisted by the save-tagsCode-only fallback when the ext
put fails), and ConsumeQueueExt.get returns null for such codes, so the
consumer-lag estimation blows up with an NPE. Keep the raw tagsCode and
let the filter handle the null ext unit, like the pull path already does.

Signed-off-by: zjncs <[email protected]>

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

With regards,
GitHub Actions via GitBox

Reply via email to