The GitHub Actions job "Misspell Check" on 
rocketmq.git/fix-11041-metadata-pagination has failed.
Run started by GitHub user 89799969 (triggered by 89799969).

Head commit for run:
a736bd359a0b357f5a4579066f5a435c85f21bb6 / halaxy 
<[email protected]>
[ISSUE #11041] Fetch the last page entry when metadata count is one over a page 
boundary

The split-metadata loops broke when topicSeq/groupSeq >= total - 1.
Because the broker pages [seq, seq + maxNum) with no overlap, that
condition becomes true after the penultimate page whenever
N ≡ 1 (mod pageSize), so the final entry was never requested.

Change the stop condition to >= total on both the client and broker
sides so a full page is always fetched before stopping.

Fixes #11041

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

With regards,
GitHub Actions via GitBox

Reply via email to