[pgpool-committers: 4014] pgpool: Fix corner case bug in Pgpool-II starting up.

Tatsuo Ishii ishii at postgresql.org
Wed May 10 08:37:58 JST 2017


Fix corner case bug in Pgpool-II starting up.

It is possible that a failover request is accepted before primary node
is searched.  This leads Pgpool-II to a strange state: there's no
primary node if the failed node was a primary node (even if new
primary node exists as a result of promotion of existing standby).

See [pgpool-hackers: 2321] for more details.

Branch
------
master

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

Modified Files
--------------
src/main/pgpool_main.c                             | 37 ++++++++++++----------
src/test/regression/tests/003.failover/test.sh     |  2 +-
.../regression/tests/055.backend_all_down/test.sh  |  2 ++
3 files changed, 23 insertions(+), 18 deletions(-)



More information about the pgpool-committers mailing list