Aias00 opened a new issue, #2568: URL: https://github.com/apache/rocketmq-dashboard/issues/2568
## Problem `GET /api/nameservers` returns every persisted NameServer registry record. The controller returns a `List`, and the service executes `selectList` before mapping every row. As the registry grows, the Cluster page transfers and renders the entire inventory without server-authoritative filters or a total. Existing NameServer work covers endpoint validation, canonical identity, and concurrent mutation reporting; it does not bound registry inventory reads. ## Scope - Add a backward-compatible paged NameServer registry endpoint with `page`, `pageSize`, optional name search, and optional status filter. - Apply filters and deterministic ordering in SQL, with stable page totals and invalid-page validation. - Update the Cluster NameServer registry UI to use the page contract, reset pages on filter changes, and retain create/edit/delete refresh behavior. - Keep the legacy full-list endpoint only for explicit lightweight compatibility consumers, or migrate such consumers to a bounded selector contract. ## Verification - Repository/service/controller tests for filtering, page bounds, totals, and deterministic order. - API/service/UI tests for request parameters, pagination changes, and mutation refreshes. - Frontend build and focused backend tests. -- 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]
