<div dir="ltr"><div>Helllo!</div><div>I am using the latest PGPOOL V3.3.3 branch and find a error when deleget IP switching. </div><div>The new elected master node has output "exec_ping: wait () failed reason:. No child processes "</div>
<div>This problem may be related to the path:</div><div><a href="http://git.postgresql.org/gitweb/?p=pgpool2.git;a=commit;h=11122e47902487a7a9b61a498c113dc4df3483a5">http://git.postgresql.org/gitweb/?p=pgpool2.git;a=commit;h=11122e47902487a7a9b61a498c113dc4df3483a5</a></div>
<div><br></div><div>@@ -228,7 +228,7 @@ exec_ping(void * arg)</div><div> {</div><div> int r;</div><div> r = waitpid(pid, &status, 0);</div><div>- if (r < 0)</div>
<div>+ if (r < 0 && errno == ECHILD) ==> if (r < 0 && errno != ECHILD)</div><div><br></div><div>I have tried and tested by the above changes. </div><div>I do not know if it's correct, thanks in advance for the help.</div>
</div>