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 2019/08/02 09:40:43 UTC
[GitHub] [rocketmq] liucyu opened a new issue #1360:
NettyRemotingAbstract#invokeSyncImpl countdown.await block
liucyu opened a new issue #1360: NettyRemotingAbstract#invokeSyncImpl countdown.await block
URL: https://github.com/apache/rocketmq/issues/1360
In the `NettyRemotingAbstract` class the method `invokeSyncImpl`'s code `RemotingCommand responseCommand = responseFuture.waitResponse(timeoutMillis);` Will cause a bug that the thread pool cannot invoke countdown due to some reason, it will block a long time.
And the bug can solve just add a `releaseResponse` method in `responseFuture` because you can invoke it during scheduled task invoke `ResponseFuture.isTimeout` method
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services