You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2021/07/01 06:50:42 UTC

[GitHub] [dubbo] zhangyz-hd commented on issue #8172: 升级2.7.12 provider下线造成consumer线程池Terminated

zhangyz-hd commented on issue #8172:
URL: https://github.com/apache/dubbo/issues/8172#issuecomment-871974084


   补充触发的条件:服务是异步的,即async=true
   原因:
   org.apache.dubbo.rpc.protocol.AbstractInvoker#getCallbackExecutor中,如果服务是异步,这直接返回Executor,而同步模式返回的是ThreadlessExecutor。
   ThreadlessExecutor.shutdownNow()并不会关闭其包装的Executor,所以同步模式不会有问题。
   
   


-- 
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: notifications-unsubscribe@dubbo.apache.org

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



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org