[pgpool-committers: 3374] 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
------
master

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

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



More information about the pgpool-committers mailing list