[pgpool-committers: 9926] 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_1_STABLE

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

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



More information about the pgpool-committers mailing list