[pgpool-committers: 1645] pgpool: Fix bug that watchdog status goes down even when only one of tr

Yugo Nagata nagata at sraoss.co.jp
Tue Feb 11 23:50:15 JST 2014


Fix bug that watchdog status goes down even when only one of trusted servers get unpingable

When there are two hosts in trusted_servers, pings to each hosts are execued in forked
procceses in each threads. This bug is caused by wrong result handling that receives
other thread's ping result. Resolve by using waitpid() instead of wait().

Branches
--------
EXCEPTION_MGR
master

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

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



More information about the pgpool-committers mailing list