fantow opened a new issue #2204:
URL: https://github.com/apache/rocketmq/issues/2204


   **BUG REPORT**
   
   1. Please describe the issue you observed:
   **I think there is a logical error in Producer,when user use the Broker 
latency fault mechanism**
   
   - What did you do (The steps to reproduce)?
   **You can find this error in 
org.apache.rocketmq.client.latency.MQFaultStrategy.selectOneMessageQueue(final 
TopicPublishInfo tpInfo, final String lastBrokerName)**
   
![rocketmq22](https://user-images.githubusercontent.com/18530950/88472985-8808db00-cf4b-11ea-9319-f7d2d8e98765.png)
   
     **First we should judge the mq is available by the method 
isAvailable(String brokerName)
     Second, we should judge this mq wheather a mq belongs to the same Broker 
which may be fault.
     So the right logic is choosing the mq does not belong to the same Broker**
   
   - What did you expect to see?
   
   - What did you see instead?
   
   2. Please tell us about your environment:
   JDK1.8
   RocketMQ 4.7.1
   
   3. Other information (e.g. detailed explanation, logs, related issues, 
suggestions how to fix, etc):
   If you think this is an error, may I sumbit a PR to fix it?
   


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