Skip to content

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