zrlw commented on issue #8895: URL: https://github.com/apache/dubbo/issues/8895#issuecomment-925921437
我跟踪了一下,问题2个: 1. invoker.destroyAll()执行的invoker类型是MigrationInvoker,这个类型的destroyAll()方法还是调用的destroy() 2. 经过多个invoker类型的嵌套调用之后,调用了DubboInvoker的destroy调用,然后HeaderExchangeChannel的close(10000),然后调用close(),由于 #7410 修订存在的问题,导致直接返回,没有关闭channel。 应急办法: 默认的10000ms是ConfigurationUtils.getServerShutdownTimeout()方法返回的,可以设置环境变量dubbo.service.shutdown.wait为0,从而直接调用close()方法规避此缺陷。 -- 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]
