[pgpool-committers: 1581] 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:39:13 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_2_STABLE

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

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



More information about the pgpool-committers mailing list