[pgpool-hackers: 520] A error when deleget IP switching

Qian Peng flyalay at gmail.com
Tue May 20 12:42:51 JST 2014


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.sraoss.jp/pipermail/pgpool-hackers/attachments/20140520/1533599a/attachment.html>


More information about the pgpool-hackers mailing list