rangtao commented on issue #2525: Problems of graceful shutdown in 2.6.3 and some recommendations URL: https://github.com/apache/incubator-dubbo/issues/2525#issuecomment-423089306 --sry,没理解您的答复,看注释的意思是等待注册中心通知延迟。 关于第三个问题,在2.6.1中ProtocolConfig类中,destroyAll方法包含如下sleep代码。2.6.2中将此部分sleep代码删除了。 see HeaderExchangeServer#isRunning: private boolean isRunning() { Collection<Channel> channels = getChannels(); for (Channel channel : channels) { if (DefaultFuture.hasFuture(channel)) { /** * If there are any client connections, * our server should be running. */ if (channel.isConnected()) { return true; } } If there is a client connection, it will automatically wait, there was a bug before, so will invoke sleep
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
