RockteMQ-AI commented on issue #2465: URL: https://github.com/apache/rocketmq-dashboard/issues/2465#issuecomment-5361728400
**Issue Evaluation** Category: `bug` | Status: **Confirmed** The reported issue has been verified against the current codebase. **Root Cause:** `OpsServiceImpl.java:94` uses `List.contains(namesrvAddr)` which delegates to `String.equals()` (case-sensitive). `NS.EXAMPLE.COM:9876` and `ns.example.com:9876` are treated as distinct entries. The same case-sensitivity propagates to `TopicServiceImpl.deleteTopicInNameServer` and `ConsumerServiceImpl.deleteResources` which split the address string into a `HashSet<String>`. **Impact:** Duplicate logical nodes if mixed-case addresses are entered, causing redundant RPC calls and inflated node counts. **Severity:** Low — DNS hostnames in practice come from config files or admin UI where casing is typically consistent. No data loss risk, only redundant connections. An automated fix proposal can be generated. Reply `/approve` to proceed with PR generation. --- *Automated evaluation by * -- 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]
