[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.



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