You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "mercyblitz (GitHub)" <gi...@apache.org> on 2020/01/17 07:28:03 UTC

[GitHub] [dubbo] mercyblitz commented on issue #5630: Dubbo优雅停机问题

> 1.当ContextClosedEvent触发时,spring容器已经销毁,此时如果外部流量进来、以及内部依旧在运行的线程,会因为bean找不到,出现异常

the ContextClosedEvent is raised while the Spring container is closing, however, the managed Spring Beans are not destroyed yet, Please refer to the method `org.springframework.context.support.AbstractApplicationContext#doClose`. Actually, the provider will be offlined first when the method `org.apache.dubbo.config.bootstrap.DubboBootstrap#stop` is invoked.


[ Full content available at: https://github.com/apache/dubbo/issues/5630 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org