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

Frequent leadership changes, using STAN and Jetstream #29

Open
juliev0 opened this issue Apr 20, 2022 · 0 comments
Open

Frequent leadership changes, using STAN and Jetstream #29

juliev0 opened this issue Apr 20, 2022 · 0 comments

Comments

@juliev0
Copy link

juliev0 commented Apr 20, 2022

HI, we are seeing very frequent leadership changes (every ~5 minutes) while running on GKE (but have heard it happens on EKS as well). I believe this happens whether we run with the NATS Streaming bus or Jetstream bus. And at the time the bus is basically idle.

If I change the MIN_ELECTION_TIMEOUT value from 500 msec to 1 sec they almost entirely go away (running with the Jetstream bus). The heartbeats go over NATS itself, right?

Any advice on what could be causing this? I don't believe we have any special configuration settings on NATS that would be causing any sort of rate limiting.

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