biggerRice opened a new issue #2080:
URL: https://github.com/apache/rocketmq/issues/2080


   source code class
   
https://github.com/apache/rocketmq/blob/master/client/src/main/java/org/apache/rocketmq/client/latency/LatencyFaultToleranceImpl.java
   
   
   **BUG REPORT**
   
   1. Please describe the issue you observed:
   
   - What did you do (The steps to reproduce)?
   
   - What did you expect to see?
   
   - What did you see instead?
   
   2. Please tell us about your environment:
   
   3. Other information (e.g. detailed explanation, logs, related issues, 
suggestions how to fix, etc):
   
   
   **FEATURE REQUEST**
   
   1. Please describe the feature you are requesting.
   
   在 pickOneAtLeast 方法里面,有代码片段如下:
   
   Collections.shuffle(tmpList);
   
   Collections.sort(tmpList);
   
   对broker列表先打散,再排序,认为就失去了打散的作用,出现总是一个顺序,而出现压力都到了一个broker上
   
   认为应该去掉打散操作,改为
   
   Collections.sort(tmpList);
   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to