[pgpool-committers: 6224] pgpool: Fix for bug-545: Quorum lost and not recovered

Muhammad Usama m.usama at gmail.com
Sun Sep 29 06:05:10 JST 2019


Fix for bug-545: Quorum lost and not recovered

Master watchdog node was not adding the lost standby node to its list of valid
standby nodes after it is rediscovered by the lifecheck.The fix is to ask the
node to rejoin the master node when it gets rediscovered by the lifecheck.
As part of this commit, I have also added the watchdog data version and Pgpool-II
version in the watchdog info packet to make the extensions in the watchdog
messages easier in the future.

Thanks to Guille(reporter of this bug), for providing lots of help in testing the fix

Branch
------
V4_0_STABLE

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

Modified Files
--------------
src/include/watchdog/watchdog.h | 34 ++++++++++++++++++--
src/main/pgpool_main.c          |  3 +-
src/watchdog/watchdog.c         | 71 +++++++++++++++++++++++++++++++++++++----
src/watchdog/wd_json_data.c     | 23 +++++++++++++
4 files changed, 121 insertions(+), 10 deletions(-)



More information about the pgpool-committers mailing list