btlqql opened a new pull request, #10920: URL: https://github.com/apache/rocketmq/pull/10920
## What is the purpose of the change Fix #10873. BrokerData.selectBrokerAddr assumed brokerAddrs is non-null and non-empty. A default BrokerData instance threw NullPointerException, while an empty map reached Random.nextInt(0) and threw IllegalArgumentException. ## Brief changelog - BrokerData.selectBrokerAddr: return null for a null or empty address table ## How was this patch verified - Code review of the master/slave selection path - `git diff --check` clean -- 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]
