Aias00 opened a new pull request, #4508: URL: https://github.com/apache/rocketmq-dashboard/pull/4508
### Which Issue(s) This PR Fixes - Fixes #4506 ### Brief Description - Preserve per-instance cluster discoveries internally before the existing name-based scan deduplication. - Make `PlatformClusterResolver.require` return 409 when more than one managed instance exposes the requested cluster name. - Include sorted conflicting instance identifiers in the error instead of silently selecting the first instance. - Keep `scan`, `scanWithBrokerVersions`, unreachable-instance handling, and all tool schemas unchanged. ### How Did You Test This Change? - `cd server && mvn -B -ntp -Dtest=PlatformClusterResolverTest,ClusterListToolHandlerTest,BrokerConfigToolHandlerTest,BrokerDescribeToolHandlerTest,BrokerListToolHandlerTest,NameServerConfigToolHandlerTest,NameserverListToolHandlerTest,ProxyConfigToolHandlerTest,ProxyListToolHandlerTest test` — 25 tests passed; Checkstyle 0 violations. - `cd server && mvn -B -ntp -Dsurefire.rerunFailingTestsCount=2 test` against a fresh isolated MySQL 8 schema — 2415 tests passed; Checkstyle 0 violations. The temporary schema was removed after verification. - `cd server && mvn -B -ntp -DskipTests package` — passed. - `git diff HEAD^ --check` — passed. - Independent read-only review — 0 findings. ### Checklist - [x] One coherent change; unrelated modifications are not bundled in - [x] Commit subject follows Conventional Commits (`feat:` / `fix:` / `refactor:` / `chore:` / `docs:` / `perf:`) - [x] Tests added or updated for non-trivial changes, test methods named `...Test` - [x] New UI text has both Chinese and English entries under `web/src/i18n/` (no UI change) - [x] Architecture constraints stay green (`mvn test` runs the ArchUnit checks) - [x] New source files carry the ASF license header (no new source files) - [x] Documentation touched where behaviour changed (no documentation change required) -- 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]
