The GitHub Actions job "Coverage" on 
rocketmq.git/fix/split-metadata-pagination-guards has failed.
Run started by GitHub user zjncs (triggered by zjncs).

Head commit for run:
f336eb3f6e5bc07ac92f4a3789f1382805f44480 / zjncs <[email protected]>
[ISSUE #B2] Guard split-metadata pagination against zero/negative limits, 
negative seq and malformed data versions

subGroupTable / subTopicConfigTable index the sorted key list with
client-supplied groupSeq/topicSeq and maxGroupNum/maxTopicNum. A zero or
negative max limit makes endIndex collapse onto or below beginIndex, so
keyList.get(endIndex - 1) throws ArrayIndexOutOfBoundsException (or the
subMap call throws for an inverted range); a negative seq indexes the key
list negatively; and a dataVersion that is not valid JSON throws
fastjson's JSONException instead of degrading to a full sync page.

Clamp the seq to zero, skip the slice for non-positive limits (an empty
page), and treat an unparseable data version as an unknown version that
falls back to a full page from index 0.

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

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

With regards,
GitHub Actions via GitBox

Reply via email to