Closed sh1yu closed 3 years ago
This high probability is a problem of zk version conflicts. Do you use other zk version in your project?
This high probability is a problem of zk version conflicts. Do you use other zk version in your project?
Yes. zk 3.5.9 and 3.4.14 also have this problem.
can you just use the zk version in dubbo and exclude other zk ?
我们遇到了同样的问题,可不可以不升级curator的version(我们目前也使用2.12.0),而修复这个bug 因为要升级的话,我们有几百个应用要动,这个成本太大,能否在2.7的版本下,加个小版本修复? We have the same problem. Can you fix this bug without upgrading the version of curator? (we also use 2.12.0 now.) Because we have hundreds of applications to upgrade. The cost is too high.
Thank you very much!
我们遇到了同样的问题,可不可以不升级curator的version(我们目前也使用2.12.0),而修复这个bug 因为要升级的话,我们有几百个应用要动,这个成本太大,能否在2.7的版本下,加个小版本修复? We have the same problem. Can you fix this bug without upgrading the version of curator? (we also use 2.12.0 now.) Because we have hundreds of applications to upgrade. The cost is too high.
Thank you very much!
这部分逻辑是需要使用应用级服务发现才会有的,当前 2.7 版本的应用级服务发现是处于原型状态,后续不再继续维护的。关于 zookeeper 版本的短期是可以做一个兼容。但是长期来看肯定是要往高版本升级的,目前 zookeeper 官方也对低版本不维护了。
@AlbumenJ 谢谢。 我目前的解决方案是:dubbo升级到2.7.12,curator升级到4.2.0,排除curator本身的zk版本,引用了自己的3.4.8的zk版本 另外,还发现一点:用过2.7.9的,在zookeeper目录下,找到/dubbo/config,下面有个mapping目录,这个在用2.7.12前要删除,否则会报错。
in fact it still recommend to use zookeeper: 3.4.9 and curator: 2.12.0 in the doc for dubbo 2.7. https://dubbo.apache.org/zh/docs/v2.7/user/dependencies/
I would appreciated if it could be updated for dubbo 2.7.12 and other subversion for production use. I'm not very clear that which zookeeper cluster version, zookeeper client version and curator version whould be perfect for dubbo 2.7.12.
Environment
Steps to reproduce this issue
upgrading version 2.7.9 to 2.7.12 and got this exception:
It works ok in version 2.7.9 but got this exception in 2.7.12. Provider code works ok but Consumer is not. the extra infomation: