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

Yugo Nagata nagata at sraoss.co.jp
Wed Dec 25 15:34:19 JST 2013


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().

Branch
------
V3_3_STABLE

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

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



More information about the pgpool-committers mailing list