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

Constantly getting EXPIRED session when zookeeper cluster has massive traffic #110

Open
sliu2013 opened this issue Apr 21, 2021 · 0 comments

Comments

@sliu2013
Copy link

sliu2013 commented Apr 21, 2021

We have a service using this node-zookeeper-client lib to connect to a multi-host zookeeper cluster. When the zookeeper cluster has massive traffic, within one minute after the client successfully connects to the zk cluster, the new session becomes EXPIRED. It's confirmed by the zookeeper server log.

My questions are:

  • Is this expected to see such frequent session EXPIRED when there is massive traffic in the zookeeper cluster? (ps. we have other services talking to the same zk cluster, but none of them experiences the same issue)
  • Since the zk-client-session becomes "EXPIRED" state (and according to the zookeeper document, EXPIRED state is not a recoverable state), is restarting my service, which will re-create a new zk-client-session, the recommended approach?
@sliu2013 sliu2013 changed the title Constantly getting "onSocketError" when zookeeper cluster has massive traffic Constantly getting EXPIRED session when zookeeper cluster has massive traffic Apr 22, 2021
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

No branches or pull requests

1 participant