[pgpool-committers: 42] pgpool: Fix failover/failback in RAW mode.

Tatsuo Ishii ishii at postgresql.org
Sun Feb 5 14:51:54 JST 2012


Fix failover/failback in RAW mode.
problem #1: Simply does not failover if target node is not master.
problem #2: Fail to select master node if the node is in CON_UP.
For this purpose new macro VALID_BACKEND_RAW is added, which is usefull
where health node status checking is required in raw mode.
Existing VALID_BACKEND macro does not regard standby nodes as healthy
in RAW mode.

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=64f5bffdac2cf71c764b32f408a35ff50938dcdf

Modified Files
--------------
main.c |   11 +++++------
pool.h |    7 +++++++
2 files changed, 12 insertions(+), 6 deletions(-)



More information about the pgpool-committers mailing list