Aias00 opened a new pull request, #10893:
URL: https://github.com/apache/rocketmq/pull/10893

   Closes #10892.
   
   ## Summary
   - select a candidate topic through a single iterator in both the Java 
producer and Proxy route service
   - avoid the check-then-iterate race when concurrent cache eviction removes 
the final entry
   - add deterministic regression tests for both affected paths
   
   ## Tests
   - `JAVA_HOME=$(/usr/libexec/java_home -v 1.8) PATH="$JAVA_HOME/bin:$PATH" 
mvn -q -pl client -am -Dtest=DefaultMQProducerImplTest -DfailIfNoTests=false 
test`
   - `JAVA_HOME=$(/usr/libexec/java_home -v 1.8) PATH="$JAVA_HOME/bin:$PATH" 
mvn -q -pl proxy -am 
-Dtest=ClusterTopicRouteServiceTest,LocalTopicRouteServiceTest 
-DfailIfNoTests=false 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]

Reply via email to