[pgpool-committers: 7997] 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:02:51 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
------
V3_6_STABLE

Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=6f7e7babc16888bcc5c5bac59863f852ec79a304

Modified Files
--------------
src/test/pgpool_setup.in | 6 ++++++
1 file changed, 6 insertions(+)



More information about the pgpool-committers mailing list