[pgpool-committers: 3373] pgpool: SIGUSR1 signal handler should be installed before watchdog init

Muhammad Usama m.usama at gmail.com
Tue Aug 2 23:49:34 JST 2016


SIGUSR1 signal handler should be installed before watchdog initialization.

Since there can be a case where a failover request from other watchdog nodes
arrive at the same time when the watchdog has just been initialized,
and if we wait any longer to install a SIGUSR1 signal handler, it can
result in a potential crash

Branch
------
V3_5_STABLE

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

Modified Files
--------------
src/main/pgpool_main.c | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)



More information about the pgpool-committers mailing list