The Wayback Machine - https://web.archive.org/web/20200912034949/https://github.com/2ndQuadrant/repmgr/issues/617
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

repmgrd fencing technique is not robust #617

Open
ckolovson opened this issue Feb 5, 2020 · 0 comments
Open

repmgrd fencing technique is not robust #617

ckolovson opened this issue Feb 5, 2020 · 0 comments

Comments

@ckolovson
Copy link

@ckolovson ckolovson commented Feb 5, 2020

The current repmgrd fencing technique (repmgrd invoking the child_nodes_disconnect_command) has 2 problems:

  1. It only works when repmgrd is running and failover=automatic
  2. It doesn't work if a failover happens when the node where the old primary was running is down at the time of the failover

The repmgrd documentation states (https://repmgr.org/docs/5.0/repmgrd-primary-child-disconnection.html):

Note that child nodes which are not attached when repmgrd starts will not be considered as missing, as repmgrd cannot know why they are not attached.

This technique is not sufficient to always fence out an old primary that comes back up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
1 participant
You can’t perform that action at this time.