1158974574 opened a new issue, #10408: URL: https://github.com/apache/dubbo/issues/10408
<!-- If you need to report a security issue please visit https://github.com/apache/dubbo/security/policy --> - [ ✔️] I have searched the [issues](https://github.com/apache/dubbo/issues) of this repository and believe that this is not a duplicate. ### Environment * Dubbo version: 2.7.3 * Operating System version: linux * Java version: 1.8 ### Steps to reproduce this issue 1. 使用同一个zk集群,将一个服务同时发布在该zk的不同节点下,比如发布在 /dubbo1 和 /dubbo2 节点下,这时会有两个registry。 2. 服务正常关闭时,会调用 registry.destroy()方法,当第一个registry关闭后,对应的zk连接也会被关闭,这时第二个registry关闭时,由于共用了zk连接,这里就会抛出异常:Failed to unregister..... Pls. provide [GitHub address] to reproduce this issue. ### Expected Behavior <!-- What do you expect from the above steps?--> ### Actual Behavior <!-- What actually happens? --> If there is an exception, please attach the exception trace: ``` Just put your stack trace here! ``` -- 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]
