Alanxtl commented on issue #2220:
URL: https://github.com/apache/dubbo-go/issues/2220#issuecomment-4750132273

   现在正常 graceful shutdown / signal shutdown 下,应用级服务发现会主动 unregister,不需要等 ZK 
session 过期。当前链路里 provider 注册的 application instance 会被记录,shutdown 时 registry 
unregister 会落到 `serviceDiscovery.Unregister(instance)`。但如果是 `kill 
-9`、进程崩溃、容器直接强杀且没有走 shutdown hook,那 ZK 临时节点仍然只能等 session timeout,这个不算框架可完全消除的问题。


-- 
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]

Reply via email to