-
Notifications
You must be signed in to change notification settings - Fork 43
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
Handle etcd leader changes #228
Comments
And that's exactly what we expect, no? |
No we don't expect that. This is not a change in patroni leadership, but etcd leadership. |
oh, I see! Thanks. Will check this |
Would you please check the PR if it works for you? Thanks in advance! |
Hi Pavlo, I'm afraid this is not the correct fix. If I trigger the leader change situation with a patched vip-manager, it will leave the VIP setup intact, but the process is spinning on CPU. I tried to find out what happens here, and I suspect that the This is confirmed by the fact that if I switch patroni roles in this situation, the (non-broken) vip-manager on the new primary would add the VIP to the interface, but the (broken) vip-manager on the old primary wouldn't remove it. |
This is somewhat related to #208
When the etcd leader restarts, vip-manager decides to remove the VIP:
This happens with vip-manager 2.4.0
The text was updated successfully, but these errors were encountered: