[pgpool-committers: 8000] 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:07 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
------
V4_1_STABLE

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

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



More information about the pgpool-committers mailing list