zjncs opened a new pull request, #11031: URL: https://github.com/apache/rocketmq/pull/11031
Fixes #10873 BrokerData.selectBrokerAddr now returns null when brokerAddrs is null or empty, instead of throwing NullPointerException or IllegalArgumentException from Random.nextInt(0). Master preference and random slave fallback remain unchanged. Added regression coverage for both null and empty tables. Verification: git diff --check passed; Maven unavailable locally, CI should run BrokerDataTest/remoting checks. AI-assisted contribution. -- 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]
