-
Notifications
You must be signed in to change notification settings - Fork 26.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ZookeeperRegistry ->doRegister 方法 faultTolerant参数 设置为false,是不是会存在问题 ? #12646
Comments
qijun4tian
changed the title
ZookeeperRegistry ->doRegister 方法 faultTolerant参数 设置为false 是不是会存在问题
ZookeeperRegistry ->doRegister 方法 faultTolerant参数 设置为false,是不是会存在问题 ?
Jul 3, 2023
@AlbumenJ 是否存在问题,大佬帮忙看下啊 |
可以帮提个 PR 把 faultTolerant 改成 false 嘛 |
我试试看 |
qijun4tian
pushed a commit
to qijun4tian/dubbo
that referenced
this issue
Jul 17, 2023
AlbumenJ
pushed a commit
that referenced
this issue
Jul 19, 2023
3.1.11 如何才能优雅的通过补丁解决此问题? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ask your question here
这个问题中
在provider 恢复zk 链接后
日志如下
FailbackRegistry 尝试去恢复链接 会调用 addFailedRegistered 加入到HashedWheelTimer
HashedWheelTimer 最后尝试去重新注册的时候提示node 已经存在
这个问题与 瓜子遇到的问题类似
这块代码好像没有在3.0的代码中 而是用了faultTolerant 这个参数
查看了源码 AbstractZookeeperClient 的 create()只有在 ZookeeperRegistry 调用 doRegister 设置为false。
提交日志 显示#11036 这个issue后修改的doRegisterd的faultTolerant 从true 改为了 false
The text was updated successfully, but these errors were encountered: