zrlw commented on issue #8689:
URL: https://github.com/apache/dubbo/issues/8689#issuecomment-915234543


   > > > > Curator 4.0 has a hard dependency on ZooKeeper 
3.5.x,但是dubbo3单元测试依然用的是<zookeeper_version>3.4.13</zookeeper_version>
   > > > 
   > > > 
   > > > > 建议拉个测试分支,把zk和curator都升一下,curator5.2.0对应的zk应该是3.6.3
   > > > 
   > > > 
   > > > Because there still are a lot of users using the old version `3.4.13`, 
and the community has considered this situation, also supported the higher 
version.
   > > > You can see 
[dubbo-remoting-zookeeper-curator5](https://github.com/apache/dubbo/blob/3.0/dubbo-remoting/dubbo-remoting-zookeeper-curator5/pom.xml#L33)
   > > > Dubbo can select the right version depending on the deployment 
environment.
   > > 
   > > 
   > > not use forever retry policy..and infinite loop for "a while" - -
   > > https://issues.apache.org/jira/browse/CURATOR-325
   > > 
如果用zk3.4.13,curator的版本号需要降到2.13.0(但是这个版本一堆缺陷),dubbo-dependencies-bom配死了zk和curator版本号,构建出来还能自动根据环境选择版本?好神奇啊
   > > 这里讨论的是unit test耗时长的问题,针对的zk也是unit test用的zk版本,感觉你可能理解错背景了。
   > 
   > You can see 
[ZookeeperTransporter](https://github.com/apache/dubbo/blob/3.0/dubbo-remoting/dubbo-remoting-api/src/main/java/org/apache/dubbo/remoting/zookeeper/ZookeeperTransporter.java#L37)
   
   这么牛!学到了。github做ut使用的zk能用高版本吗?从构建日志暴露的信息看,和之前curator客户端版本和zk不兼容的现象是相同的


-- 
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: notifications-unsubscr...@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@dubbo.apache.org
For additional commands, e-mail: notifications-h...@dubbo.apache.org

Reply via email to