You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "yx9o (via GitHub)" <gi...@apache.org> on 2024/11/20 12:48:23 UTC
[I] [Bug] CONSUMER_SEND_MSG_BACK request may be sent to ns [rocketmq]
yx9o opened a new issue, #8963:
URL: https://github.com/apache/rocketmq/issues/8963
### Before Creating the Bug Report
- [X] I found a bug, not just asking a question, which should be created in [GitHub Discussions](https://github.com/apache/rocketmq/discussions).
- [X] I have searched the [GitHub Issues](https://github.com/apache/rocketmq/issues) and [GitHub Discussions](https://github.com/apache/rocketmq/discussions) of this repository and believe that this is not a duplicate.
- [X] I have confirmed that this bug belongs to the current repository, not other repositories of RocketMQ.
### Runtime platform environment
linux
### RocketMQ version
all
### JDK Version
jdk1.8
### Describe the Bug
In some scenarios, for example,
- In master-slave mode, after the master fails, the slave node will consume data. If consumption fails, it will be sent back to the master broker. At this time, there is no master in the routing information, and the result is null. The request will be sent to ns.
- In master-slave mode, when the master fails and recovers, the producer gets the routing information before the consumer. At this time, the producer sends data to the master, and the consumer consumes data on the slave node. If consumption fails, it will be sent back to the master broker. At this time, there is no master in the routing information, and the result is null. The request will be sent to ns.
<img width="1244" alt="image" src="https://github.com/user-attachments/assets/4a142c5a-3c05-4761-907a-23b117659378">
<img width="881" alt="image" src="https://github.com/user-attachments/assets/2a800df7-8eed-4d34-b9b2-af4bc74bf2e1">
### Steps to Reproduce
In master-slave mode, simulated consumption fails and returns ConsumeConcurrentlyStatus.RECONSUME_LATER
At this time, if you stop the master node, you will find that there is a request to send network ns.
### What Did You Expect to See?
CONSUMER_SEND_MSG_BACK requests are only sent to brokers.
### What Did You See Instead?
CONSUMER_SEND_MSG_BACK request is sent to ns.
### Additional Context
_No response_
--
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: commits-unsubscribe@rocketmq.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug] CONSUMER_SEND_MSG_BACK request may be sent to ns [rocketmq]
Posted by "yuz10 (via GitHub)" <gi...@apache.org>.
yuz10 closed issue #8963: [Bug] CONSUMER_SEND_MSG_BACK request may be sent to ns
URL: https://github.com/apache/rocketmq/issues/8963
--
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: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org