[Pgpool-committers] pgpool - pgpool-II: Fix pool_get_node_info() so that it deals with
User T-ishii
t-ishii at pgfoundry.org
Thu Feb 10 02:14:56 UTC 2011
Log Message:
-----------
Fix pool_get_node_info() so that it deals with node_number == -1 case.
This could happen get_next_master_node() returns -1 because
there's no master node available (all nodes down case).
Also tweak trigger_failover_command() to deal with pool_get_node_info()
returns NULL case.
Per report from Wouter D'Haeseleer.
Subject: [Pgpool-general] PGpool crashes when all DB servers go down
To: "pgpool-general at pgfoundry.org" <pgpool-general at pgfoundry.org>
Date: Mon, 07 Feb 2011 09:35:50 +0100
Modified Files:
--------------
pgpool-II:
main.c (r1.91 -> r1.92)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgpool/pgpool-II/main.c?r1=1.91&r2=1.92)
More information about the Pgpool-committers
mailing list