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

Tatsuo Ishii ishii at postgresql.org
Tue May 16 09:42:55 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
------
V3_6_STABLE

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

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



More information about the pgpool-committers mailing list