[pgpool-committers: 3341] pgpool: Do not update status file if all backend nodes are in down stat

Tatsuo Ishii ishii at postgresql.org
Tue Jul 12 11:39:34 JST 2016


Do not update status file if all backend nodes are in down status.

pgpool_status will always reflect the last set of nodes to which any
data was written.  Upon restart, if the up-to-date (previously "up")
node is in fact down (regardless of whether the stale ("down") node is
back up), pgpool will detect this in its health check and will fail;
if the up-to-date (previously "up") node is back up, then pgpool will
commence using it.  See [pgpool-general: 4721] for more discussion.

Also fix incorrect pool_config global variable checking. Before it was
checked *after* pool_config was used.

Branch
------
master

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

Modified Files
--------------
src/main/pgpool_main.c | 122 ++++++++++++++++++++++++++++++-------------------
1 file changed, 75 insertions(+), 47 deletions(-)



More information about the pgpool-committers mailing list