coder999o opened a new pull request, #5126: URL: https://github.com/apache/rocketmq-dashboard/pull/5126
## What is the purpose of the change Message pagination re-queries the provider for each page. Multi-broker key queries merge results in response arrival order, so unchanged messages can move between pages, causing duplicates or omissions. Apply a stable order before slicing the result set into pages. ## Brief changelog - Sort the complete provider result by store time descending, with msgId as a deterministic tie-breaker. - Preserve provider results, pagination metadata, truncation signals, and first-page-only query history. - Add regression coverage for changing provider order across pages, both provider routing paths, equal timestamps, and missing message IDs. ## Verifying this change - `cd server && mvn -Dtest=MessageServiceTest,MessageControllerTest test` (41 tests passed; zero Checkstyle violations) - `git diff --check` - Not tested against a live multi-broker cluster. This stabilizes pagination for an unchanged result set. Message additions or deletions between requests can still shift page contents. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
