You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2022/08/18 08:46:31 UTC

[GitHub] [rocketmq] zd46319 opened a new issue, #4841: The request method of DefaultMQProducerImpl in version 4.9.4 cannot receive the response data.

zd46319 opened a new issue, #4841:
URL: https://github.com/apache/rocketmq/issues/4841

   After upgrading to version 4.9.4, I found that when I called the _**request(Message msg,long timeout)**_ method, I received the requested msg data instead of the response data.
   I debugged the code and found that in version 4.9.3, the assignment of the response is in the processReplyMessage method of the ClientRemotingProcessor, and the value is the msg of the response.
   However, in version 4.9.4, the assignment of the response is done in the SendCallback method, and the value is **the msg of the request**.
   
   I found the corresponding commit: https://github.com/apache/rocketmq/commit/1f71c39c54f6414900e571babe5f5f579ed08078#diff-1f24d88a472681b751458795afb485cdb91b45e6621e214bbee0848d1d888bfb
   ,and not sure if this processing logic is correct


-- 
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: dev-unsubscribe@rocketmq.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [rocketmq] RongtongJin commented on issue #4841: The request method of DefaultMQProducerImpl in version 4.9.4 cannot receive the response data.

Posted by GitBox <gi...@apache.org>.
RongtongJin commented on issue #4841:
URL: https://github.com/apache/rocketmq/issues/4841#issuecomment-1219240112

   @zd46319 IMO, it is indeed a bug. Hi, @li-xiao-shuang Could you explain the reason for the revision?


-- 
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: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [rocketmq] RongtongJin commented on issue #4841: The request method of DefaultMQProducerImpl in version 4.9.4 cannot receive the response data.

Posted by GitBox <gi...@apache.org>.
RongtongJin commented on issue #4841:
URL: https://github.com/apache/rocketmq/issues/4841#issuecomment-1221455314

   @zd46319 Could you submit a pull request to fix the issue?


-- 
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: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [rocketmq] RongtongJin closed issue #4841: The request method of DefaultMQProducerImpl in version 4.9.4 cannot receive the response data.

Posted by GitBox <gi...@apache.org>.
RongtongJin closed issue #4841: The request method of DefaultMQProducerImpl in version 4.9.4 cannot receive the response data.
URL: https://github.com/apache/rocketmq/issues/4841


-- 
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: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org