[pgpool-committers: 4830] pgpool: Fix for 0000406: failover called with old-primary = -1
Muhammad Usama
m.usama at gmail.com
Thu Jun 28 21:01:27 JST 2018
Fix for 0000406: failover called with old-primary = -1
The problem is when the primary node is quarantined the current primary node id
is set to -1 (Invalid), and once after consensus is made the failover never see
the original values for and old-primary.
The fix is to restore the primary node and master node status to the older
states (before the primary node was quarantined) while processing the failover
and failback on quarantined nodes.
Branch
------
V3_7_STABLE
Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=1648cb8c552a19b2f90de1fab120929dd5be06e4
Modified Files
--------------
src/include/pcp/libpcp_ext.h | 4 +-
src/main/pgpool_main.c | 130 +++++++++++++++++++++++++++++++++++++------
2 files changed, 116 insertions(+), 18 deletions(-)
More information about the pgpool-committers
mailing list