Skip to content

Conversation

davissp14
Copy link
Contributor

@davissp14 davissp14 commented Jan 4, 2023

Custom failover validation process that will prevent failovers when quorum can't be met.

Notable impact:

  • This will help mitigate certain split-brain scenarios that would occur during a network split.
  • This will remove HA from a 2-node setup until we can properly differentiate a down node from a network split.
lax [info]repmgrd         | [2023-01-04 21:19:20] [DETAIL] /usr/local/bin/failover_validation -visible-nodes 1 -total-nodes 2
lax [info]repmgrd         | [2023-01-04 21:19:20] [INFO] output returned by failover validation command:
lax [info]repmgrd         | Unable to perform failover as quorum can not be met. Total nodes: 2, Visible nodes: 1

@davissp14 davissp14 requested a review from DAlperin January 4, 2023 15:54
@davissp14 davissp14 merged commit 4fd213a into master Jan 4, 2023
@davissp14 davissp14 deleted the failover-verification branch February 25, 2023 01:57
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

Successfully merging this pull request may close these issues.

1 participant