[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 17 11:27:58 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

Tags:
----
V3_0_STABLE

Modified Files:
--------------
    pgpool-II:
        main.c (r1.85.2.4 -> r1.85.2.5)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgpool/pgpool-II/main.c?r1=1.85.2.4&r2=1.85.2.5)


More information about the Pgpool-committers mailing list