The GitHub Actions job "Build and Run Tests by Maven" on 
rocketmq.git/codex/admin-querymessage-paging has failed.
Run started by GitHub user iloveeyjafjalla (triggered by iloveeyjafjalla).

Head commit for run:
e5ec65203d1263c0a9878509de9a92bb4dbe1573 / iloveeyjafjalla <[email protected]>
[ISSUE #11369] fix(proxy): honor or refuse the QueryMessage pagination fields

QueryMessage read none of the request's pagination fields and echoed scroll_id
back: page_size was ignored (only max_message_nums counted, default 32),
page_num was ignored (so page 2 returned the same first page again), a
scroll_id from a previous response could never continue anything, and the
response advertised a cursor the proxy never issues.

Honor what the broker can serve and refuse the rest: page_size caps the query
(and must be positive), a page_num past the first page and any scroll_id are
rejected with BAD_REQUEST - the same rule this RPC already applies to its
unsupported search-key variants - and the response no longer carries a
scroll_id. docs/proxy-admin.md / docs/proxy-admin-zh.md ยง8 record the boundary.

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

With regards,
GitHub Actions via GitBox

Reply via email to