[pgpool-committers: 5971] pgpool: Fix for no primary on standby pgpool when primary is quarantine
Muhammad Usama
m.usama at gmail.com
Thu Aug 8 15:17:29 JST 2019
Fix for no primary on standby pgpool when primary is quarantined on master
Master watchdog Pgpool sends primary_node_id = -1 in the backend status sync
message if the primary node is quarantined on it. So standby watchdog Pgpool
must not update its primary_node_id if the primary backend node id in sync
message is invalid_node_id (-1) while the same sync message reports the
backend status of the current primary node as "NOT DOWN".
The issue was reported by "Tatsuo Ishii <ishii at sraoss.co.jp>" and fixed by me
Branch
------
master
Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=3922c12c1f8efbc1b5f2e7def1e0ff921aafb989
Modified Files
--------------
src/main/pgpool_main.c | 39 ++++++++++++++++++++++++++++-----------
src/watchdog/wd_json_data.c | 2 +-
2 files changed, 29 insertions(+), 12 deletions(-)
More information about the pgpool-committers
mailing list