pgpool2.git / summary / log / commit / refs
commit 225ba5e5844dd9e959650feb98db922fa9ca9934
Author: pengbo <pengbo@sraoss.co.jp>
Date: Thu Nov 09 02:22:44 2017 +0000
Change the "failover_when_quorum_exists", "failover_require_consensus"
and "enable_multiple_failover_requests_from_node" default value to "on/off".
src/sample/pgpool.conf.sample | 6 +++---
src/sample/pgpool.conf.sample-logical | 6 +++---
src/sample/pgpool.conf.sample-master-slave | 6 +++---
src/sample/pgpool.conf.sample-replication | 6 +++---
src/sample/pgpool.conf.sample-stream | 6 +++---
5 files changed, 15 insertions(+), 15 deletions(-)
diff --git a/src/sample/pgpool.conf.sample b/src/sample/pgpool.conf.sample
index 4a70fd0d6..8d1a12250 100644
--- a/src/sample/pgpool.conf.sample
+++ b/src/sample/pgpool.conf.sample
@@ -553,15 +553,15 @@ wd_de_escalation_command = ''
# - Watchdog consensus settings for failover -
-failover_when_quorum_exists = true
+failover_when_quorum_exists = on
# Only perform backend node failover
# when the watchdog cluster holds the quorum
-failover_require_consensus = true
+failover_require_consensus = on
# Perform failover when majority of Pgpool-II nodes
# aggrees on the backend node status change
-allow_multiple_failover_requests_from_node = false
+allow_multiple_failover_requests_from_node = off
# A Pgpool-II node can cast multiple votes
# for building the consensus on failover
diff --git a/src/sample/pgpool.conf.sample-logical b/src/sample/pgpool.conf.sample-logical
index 8be64bcac..335260487 100644
--- a/src/sample/pgpool.conf.sample-logical
+++ b/src/sample/pgpool.conf.sample-logical
@@ -551,15 +551,15 @@ wd_de_escalation_command = ''
# (change requires restart)
# - Watchdog consensus settings for failover -
-failover_when_quorum_exists = true
+failover_when_quorum_exists = on
# Only perform backend node failover
# when the watchdog cluster holds the quorum
-failover_require_consensus = true
+failover_require_consensus = on
# Perform failover when majority of Pgpool-II nodes
# aggrees on the backend node status change
-enable_multiple_failover_requests_from_node = false
+enable_multiple_failover_requests_from_node = off
# A Pgpool-II node can cast multiple votes
# for building the consensus on failover
diff --git a/src/sample/pgpool.conf.sample-master-slave b/src/sample/pgpool.conf.sample-master-slave
index 4e1f86ba8..bafa5e884 100644
--- a/src/sample/pgpool.conf.sample-master-slave
+++ b/src/sample/pgpool.conf.sample-master-slave
@@ -551,15 +551,15 @@ wd_de_escalation_command = ''
# - Watchdog consensus settings for failover -
-failover_when_quorum_exists = true
+failover_when_quorum_exists = on
# Only perform backend node failover
# when the watchdog cluster holds the quorum
-failover_require_consensus = true
+failover_require_consensus = on
# Perform failover when majority of Pgpool-II nodes
# aggrees on the backend node status change
-allow_multiple_failover_requests_from_node = false
+allow_multiple_failover_requests_from_node = off
# A Pgpool-II node can cast multiple votes
# for building the consensus on failover
diff --git a/src/sample/pgpool.conf.sample-replication b/src/sample/pgpool.conf.sample-replication
index 68c110681..9fe588f0e 100644
--- a/src/sample/pgpool.conf.sample-replication
+++ b/src/sample/pgpool.conf.sample-replication
@@ -551,16 +551,16 @@ wd_de_escalation_command = ''
# - Watchdog consensus settings for failover -
-failover_when_quorum_exists = true
+failover_when_quorum_exists = on
# Only perform backend node failover
# when the watchdog cluster holds the quorum
-failover_require_consensus = true
+failover_require_consensus = on
# Perform failover when majority of Pgpool-II nodes
# aggrees on the backend node status change
-allow_multiple_failover_requests_from_node = false
+allow_multiple_failover_requests_from_node = off
# A Pgpool-II node can cast multiple votes
# for building the consensus on failover
diff --git a/src/sample/pgpool.conf.sample-stream b/src/sample/pgpool.conf.sample-stream
index cf3a7dc36..599a073bd 100644
--- a/src/sample/pgpool.conf.sample-stream
+++ b/src/sample/pgpool.conf.sample-stream
@@ -552,15 +552,15 @@ wd_de_escalation_command = ''
# - Watchdog consensus settings for failover -
-failover_when_quorum_exists = true
+failover_when_quorum_exists = on
# Only perform backend node failover
# when the watchdog cluster holds the quorum
-failover_require_consensus = true
+failover_require_consensus = on
# Perform failover when majority of Pgpool-II nodes
# aggrees on the backend node status change
-allow_multiple_failover_requests_from_node = false
+allow_multiple_failover_requests_from_node = off
# A Pgpool-II node can cast multiple votes
# for building the consensus on failover
[parent: 5a1f5d78ad9b]