[pgpool-committers: 6226] 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
------
V3_6_STABLE
Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=f6c326f805155e5155c95d34be8377e0bbb88bc1
Modified Files
--------------
src/include/watchdog/watchdog.h | 36 +++++++++++++++--
src/main/pgpool_main.c | 3 +-
src/watchdog/watchdog.c | 85 ++++++++++++++++++++++++++++++++++-------
src/watchdog/wd_json_data.c | 23 +++++++++++
4 files changed, 129 insertions(+), 18 deletions(-)
More information about the pgpool-committers
mailing list