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

Yugo Nagata nagata at sraoss.co.jp
Mon Jun 16 15:18:46 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
------
master

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

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



More information about the pgpool-committers mailing list