-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[Proxy]If zk leader was down, proxy was not worked until restart it #6305
Comments
Try to configure the proxies to connect to the brokers using service urls instead of using zookeeper. It will reduce the impact from zookeeper lead was done.
Regarding the broker restarts when zookeeper sessions are expired, @codelipenghui is working an enhancement to improve it. |
I tried to set a long enough |
@snowcrumble Looks related to #6259 |
Would like to close this since this is a dup and tracked in 6259 |
Describe the bug
My pulsar is running on k8s and our service is using pulsar proxy, I have did some failure testing.
When I force crash the node which serve the zk leader, all my pulsar broker crash several times because zk connection problem, they were started final, but I must restart pulsar proxy after brokers were availabled, mentioned by #6158 .
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Proxy can recover without restart.
Or broker keep available without restart.
Screenshots
Broker error log
zk-2.log (new leader)
perf-tool output
The text was updated successfully, but these errors were encountered: