RockteMQ-AI commented on issue #1636: URL: https://github.com/apache/rocketmq-dashboard/issues/1636#issuecomment-5250090455
**Issue Evaluation** Category: `type/bug` | Status: **Confirmed** Concurrent NameServer additions can race on the shared address list, causing one addition to overwrite another. This is a classic check-then-act race condition — two threads read the same list, each appends their entry, and the last write wins, dropping the other address. **Severity:** Medium — data loss in configuration; can cause cluster connectivity issues. **Suggested Fix:** Use a synchronized block, `ConcurrentHashMap.compute`, or copy-on-write list to make the read-modify-write atomic. --- *Automated evaluation by github-manager* -- 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]
