dubbo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [dubbo] zhangyz-hd edited a comment on issue #8172: 升级2.7.12 provider下线造成consumer线程池Terminated
Date Thu, 01 Jul 2021 07:04:27 GMT

zhangyz-hd edited a comment 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


Mime
View raw message