[pgpool-committers: 6236] pgpool: Fix signal unblock leak in failover.

Tatsuo Ishii ishii at sraoss.co.jp
Thu Oct 3 21:40:23 JST 2019


Fix signal unblock leak in failover.

When failover event occurs, register_node_operation_request() gets
called to en-queue failover/failback requests. If the request queue is
full, this function returns false with unlocking semaphore. But it
forgot to unblock signal mask. This leads to block all signals
including SITERM, which makes pgpool fail to shutdown.

Discussion: https://www.pgpool.net/pipermail/pgpool-hackers/2019-October/003449.html

Branch
------
V4_1_STABLE

Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=25b4cae838330b7d60cee2c8d4e638229e70ecee

Modified Files
--------------
src/main/pgpool_main.c | 1 +
1 file changed, 1 insertion(+)



More information about the pgpool-committers mailing list