> 确实您没有正面回答我的问题,那么我描述下2.6.3版本停机在如下场景下存在问题:如果应用程序通过停机hook触发,DubboShutDown > Hook会调用destroyAll方法,因为容器(比如Spring)也通过Hook停机,此时Spirng会提前关闭,可能导致dubbo方法内部无法获取业务Bean。因为多个hook的执行的无序性,destroyAll方法第二次执行会立即返回,所以可能导致容器先摧毁。
No, if you are using Dubbo 2.6.3 with Spring, Dubbo's Shutdown hook should never be registered. All the shutdown logic should be triggered by Spring's Shutdown hook. If you found that the code is not working as expected, please file an issue and provide steps to reproduce it. For question 3, I am not aware of that change. Looking at the history, it seems to be introduced by d29052904765d59e549286fc8545bf5b0e760048. @zonghaishang Do you have any idea why we are change this? [ Full content available at: https://github.com/apache/incubator-dubbo/issues/2435 ] This message was relayed via gitbox.apache.org for [email protected]
