JavaHello commented on issue #10150: URL: https://github.com/apache/dubbo/issues/10150#issuecomment-1674860153
> 如果不使用ZK作为配置中心或不使用配置中心,可以通过设置dubbo.registry.useAsConfigCenter=false回避这个错误。通过断点发现使用该功能会多增加几个以.configurator为后缀的watcher。虽然root cause仍未找到但没有发现这样修改对基础功能有其他影响,包括优雅停机。 PS:ZK的降级目前测试不能解决该问题 测试环境:dubbo 2.7.23(2.7.8没有该问题),curator 5.1.0 zookeeper 3.6.1 - `dubbo 3.1.7` `curator 5.4.0` `zookeeper 3.7.1` 配置后没有出现报错了 - 如果使用 spring 的优雅停机(https://github.com/apache/dubbo/issues/12210), 需要添加 `-Ddubbo.shutdownHook.listenIgnore=true` -- 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]
