[pgpool-committers: 9927] pgpool: Fix: 823: Watchdog dies and kills pgpool2 when network gets sho

Muhammad Usama m.usama at gmail.com
Tue Jun 11 16:00:13 JST 2024


Fix: 823: Watchdog dies and kills pgpool2 when network gets shortly interrupted.

With network monitoring enabled, a Pgpool node would shut down immediately if it
lost all network interfaces or assigned IP addresses, providing extra protection
by quickly removing a non-communicative node from the cluster.

The issue was that Pgpool responded to network blackout events even when network
monitoring was disabled. This fix ensures that the network monitoring socket is
not opened when network monitoring is not enabled, preventing unnecessary shutdowns.

Branch
------
V4_5_STABLE

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

Modified Files
--------------
src/watchdog/watchdog.c | 15 ++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)



More information about the pgpool-committers mailing list