[pgpool-committers: 4032] 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_5_STABLE
Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=7b2ef18323592a9af4eda5118a48d95fa9a2f90f
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