[pgpool-committers: 8002] pgpool: Fix pgpool_setup to do nothing when no new main node is availab
Tatsuo Ishii
ishii at sraoss.co.jp
Wed Aug 25 11:03:17 JST 2021
Fix pgpool_setup to do nothing when no new main node is available.
When no new main node is available due to there's only 1 node
remaining, pgpool_setup tried to promote a node with node id -1. This
is impossible. Fix is just skipping whole failover process if new main
node id is -1.
Branch
------
master
Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=6f0263e1530b70c90e429abefe90b8f9e56dfb55
Modified Files
--------------
src/test/pgpool_setup.in | 6 ++++++
1 file changed, 6 insertions(+)
More information about the pgpool-committers
mailing list