-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
zk的服务发现有问题 #6
Comments
不太明白你的意思。 |
代码写的真是优雅啊,向大神学习!
} |
如同@guoyu09403 所说,这个地方最开始的实现有问题:链接仅仅按照ip:port来区分是不对的,一个失败场景是:注册的服务断开后又重新练上来了,就会导致之间建立的TCP链接是“无效”的,所以添加了uuid:ip:port来区分每个链接是否存活有效。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
再次连接同一个connectedServerNode导致connectedHandlers无法移除无效的链接
The text was updated successfully, but these errors were encountered: