Skip to content
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

客户端高可用主动干预zookeeper的running会导致链接未关闭 #176

Closed
agapple opened this issue Apr 29, 2016 · 0 comments
Closed
Milestone

Comments

@agapple
Copy link
Member

agapple commented Apr 29, 2016

手工登陆zookeeper,delete当前client的running节点,会触发一次客户端的高可用,上一次运行的节点会有优先选择权. 但上一次运行的节点,没有及时关闭上一次打开的socket链接.

触发条件:非正常的running节点干预,如果zookeeper出现网络抖动引起的running节点消失,理论上client的网络应该整体都有问题,会和canal server也断开链接.

解决:发现running节点消失,先执行以下本地关闭socket链接的操作,网络抖动时引起的避免socket泄漏.

@agapple agapple added this to the v1.0.22 milestone Apr 29, 2016
agapple added a commit that referenced this issue Apr 29, 2016
@agapple agapple closed this as completed Apr 29, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant