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

Improve error message on switchover #743

Open
Jan-M opened this issue Jul 19, 2018 · 3 comments
Open

Improve error message on switchover #743

Jan-M opened this issue Jul 19, 2018 · 3 comments

Comments

@Jan-M
Copy link
Contributor

Jan-M commented Jul 19, 2018

On a high load cluster, the shutdown of the master may take longer than patronictl waits.

This yields the following error:

Switchover failed, details: 503, Switchover status unknown

In fact at this state the master is still in shutdown mode and the switch over is still happening once shut down. Not yet sure what to write, but "failed" sounds like nothing is going to happen and master is fine.

@Wolfsrudel
Copy link

Which timeout is decisive for this and how can I adjust it?

@vinhnd20
Copy link

vinhnd20 commented Mar 28, 2024

Can someone explain for me the mechanism of selecting candidate to promote master, pls?

@CyberDem0n
Copy link
Member

@vinhnd20 I would recommend you to watch https://www.youtube.com/watch?v=SrFsInsK1ts.
Unfortunately translation isn't perfect, but it's better than nothing.
Slides are available here (slightly newer version): https://github.com/patroni-training/2019

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

4 participants