[Pgpool-committers] pgpool - pgpool-II: Fix find_primary_node() so that it judges primary
User Kitagawa
kitagawa at pgfoundry.org
Fri Apr 22 02:35:07 UTC 2011
Log Message:
-----------
Fix find_primary_node() so that it judges primary node correctly.
Remove pgpool_walrecrunning() from find_primary_node() and
add find_primary_node_repeatedly() that waits until finding primary node.
The reason for removing pgpool_walrecrunning() is that
"pg_is_in_recovery() AND pgpool_walrecrunning()" cannot judge
primary node and standby node correctly.
Modified Files:
--------------
pgpool-II:
main.c (r1.97 -> r1.98)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgpool/pgpool-II/main.c?r1=1.97&r2=1.98)
More information about the Pgpool-committers
mailing list