-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add monitor parameters to enable multiple stanbys (#89)
This work introduces multi-standby configuration variables formation.number_sync_standbys : integer, number of nodes in write quorum node.candidate_priority : integer(1-100), priority of the candidate to be promoted, 0 if the node is never meant to be primary node.replication_quorum : boolean, true if the node joins in write quorum register_node and create_formation methods have those parameters to set them during creation time. I have also added set_formation_number_sync_standbys, set_node_candidate_priority,, and set_node_replication_quorum` UDFs with their corresponding get functions node_active now also return candidate_priority and replication_quorum parameters.
- Loading branch information
Showing
35 changed files
with
2,440 additions
and
170 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,3 +41,5 @@ lib*.pc | |
|
||
# Exclude generated SQL files | ||
pgautofailover--?.?.sql | ||
!pgautofailover--1.0.sql | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.