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/06/30 04:31:08 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-871087203


   消费者端Executor共享之后,DefaultFuture.closeChannel()这里的确不应该再有ExecutorService.shutdownNowI()了,会把不该关闭的ExecutorService关掉。
   
   我尝试模拟了泛化调用的场景,包括泛化+同步、泛化+异步,但始终无法进入futureExecutor.shutdownNow();,因为在正常下线时,进入DefaultFuture.closeChannel()之前,CHANNELS内已经逐步remove了Channel,导致不会进入for循环分支。
   
   是否有简化的场景可以快速进入【futureExecutor.shutdownNow();】,或者把【futureExecutor.shutdownNow();】去掉验证。
   
   


-- 
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