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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
