[pgpool-committers: 3752] pgpool: Fix for 0000249: watchdog sometimes fails de-escalation.
Muhammad Usama
m.usama at gmail.com
Thu Jan 5 00:14:43 JST 2017
Fix for 0000249: watchdog sometimes fails de-escalation.
The logic in pgpool-II main process exit_handler and terminate_all_childrens was
not making sure that pgpool-II main process should only exit after all its
children have exited. And the problem occurs when the main process shutdowns
itself before watchdog and de-escalation child processes.
The solution is to use the waitpid() system call without WNOHANG option.
Branch
------
V3_5_STABLE
Details
-------
http://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=954206ffbb60e9b6a04d6a5b59c868755663b43a
Modified Files
--------------
src/main/pgpool_main.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
More information about the pgpool-committers
mailing list