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 06:47:13 GMT

zhangyz-hd edited a comment on issue #8172:
URL: https://github.com/apache/dubbo/issues/8172#issuecomment-871115091


   构造了一种场景复现
   1,启动3个提供者
   2,启动1个消费者,开始服务调用(服务async=true)
   3,kill -9 提供者1,会发现消费者全局ExecutorService被CLOSE,后续服务调用使用SHARED_EXECUTOR
   4,kill -9 提供者2,会发现SHARED_EXECUTOR被CLOSE
   5,后续服务调用,报错及堆栈基本同issue描述了
   
   kill -9的话,因为与提供者之间的netty断连,触发AbstractChannelHandlerDelegate.disconnected,从而进一步导致futureExecutor.shutdownNow()。如果是服务提供者正常下线(shutdownhook会先解除服务注册,再退出进程)则似乎不会有这个现象。


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