yyqdbngt opened a new pull request, #2812: URL: https://github.com/apache/rocketmq-dashboard/pull/2812
## Summary - handle a concurrent deletion between nameserver insertion and reload - return an explicit not-found business error instead of dereferencing a missing row - add regression coverage for the race ## Why The create path reloads the inserted record before mapping it. A concurrent delete could make that lookup return null and turn a normal race into an internal null-pointer error. ## Testing - `JAVA_HOME=/opt/homebrew/opt/openjdk@21 PATH=/opt/homebrew/opt/openjdk@21/bin:$PATH ./mvnw -f server/pom.xml -Dtest=NameserverRegistryServiceTest test` -- 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]
