[pgpool-hackers: 547] Re: A error when deleget IP switching
Yugo Nagata
nagata at sraoss.co.jp
Mon Jun 16 15:22:42 JST 2014
Hi,
Thank you for reporting this. I'm sorry for late response. Yes, your analysis is
correct, and I commited the fix to master and V3_3_STABLE branch.
On Tue, 20 May 2014 11:42:51 +0800
Qian Peng <flyalay at gmail.com> wrote:
> Helllo!
> I am using the latest PGPOOL V3.3.3 branch and find a error when deleget IP
> switching.
> The new elected master node has output "exec_ping: wait () failed reason:.
> No child processes "
> This problem may be related to the path:
> http://git.postgresql.org/gitweb/?p=pgpool2.git;a=commit;h=11122e47902487a7a9b61a498c113dc4df3483a5
>
> @@ -228,7 +228,7 @@ exec_ping(void * arg)
> {
> int r;
> r = waitpid(pid, &status, 0);
> - if (r < 0)
> + if (r < 0 && errno == ECHILD) ==> if (r < 0 &&
> errno != ECHILD)
>
> I have tried and tested by the above changes.
> I do not know if it's correct, thanks in advance for the help.
--
Yugo Nagata <nagata at sraoss.co.jp>
More information about the pgpool-hackers
mailing list