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

修改curator客户端,解决zookeeper宕机重启CuratorWatcherImpl中的process方法异常的问题 #215

Open
wants to merge 70 commits into
base: master
Choose a base branch
from

Conversation

YanXs
Copy link

@YanXs YanXs commented Oct 26, 2016

使用curator做zookeeper客户端时,当zookeeper宕机重启后,curator客户端重连后会产生一个None类型的WatchEvent,调用process方法会抛异常。虽然异常会被捕捉并记录到日志中,并不会像1.x.x版本出现无法重连的问题,但是这里其实可以加上event类型限制,只对NodeChildrenChanged事件调用后面的方法。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants