diaohancai commented on issue #7749:
URL: https://github.com/apache/rocketmq/issues/7749#issuecomment-1894846088

   > I had the same problem as this,and client version is 4.7.0, broker version 
is 5.1.4 why `f.isSuccess == false` is necessary
   
   what?
   `RemotingCommand responseCommand = 
responseFuture.waitResponse(timeoutMillis)` use countDownLatch to wait for 
asynchronous response.
   So when netty responded asynchronously, no matter `f.isSuccess()` or not, 
should call `countDownLatch.countDown()`. 
   Otherwise `responseFuture.waitResponse(timeoutMillis)` always timeout after 
timeoutMillis.


-- 
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-unsubscr...@rocketmq.apache.org

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

Reply via email to