[pgpool-committers: 2031] pgpool: Fix an infinite loop of error at new active pgpool when virtual

Yugo Nagata nagata at sraoss.co.jp
Mon Jun 16 15:19:01 JST 2014


Fix an infinite loop of error at new active pgpool when virtual IP switching

When active pgpool stops and standby pgpool becomes new active, this brings
virtual IP up and confirm this by ping command. In previous, pgpool handle
exit code of ping wrongly and goes into an infinite loop.

In addition, the old active pgpool also hangs since this waits response
from the new active pgpool, which is in the infinite loop and not able
to respond.

This problem is reported by Qian Peng in [pgpool-hackers: 520].

Branch
------
V3_3_STABLE

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

Modified Files
--------------
watchdog/wd_ping.c |    2 +-
1 file changed, 1 insertion(+), 1 deletion(-)



More information about the pgpool-committers mailing list