RockteMQ-AI commented on issue #2465: URL: https://github.com/apache/rocketmq-dashboard/issues/2465#issuecomment-5372285649
**Issue Evaluation** Category: `bug` | Status: **Confirmed** The issue is verified against the current codebase. In `OpsServiceImpl.addNameSvrAddr()`, the deduplication check uses `namesrvAddrs.contains(namesrvAddr)` which is a case-sensitive string comparison. DNS hostnames are case-insensitive per RFC 4343, so `NS.EXAMPLE.COM:9876` and `ns.example.com:9876` refer to the same node but would both be added to the list. This causes duplicate probing and inflated node counts in the cluster view. **Root Cause:** Case-sensitive `List.contains()` used for DNS hostname deduplication. **Impact:** Duplicate NameServer entries when hostnames differ only by case; inflated node counts and redundant admin calls. **Severity:** medium An automated fix proposal may be generated. Reply `/approve` to proceed with PR generation. --- *Automated evaluation by "github-manager-bot"* -- 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]
