[pgpool-committers: 9925] 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_2_STABLE

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

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



More information about the pgpool-committers mailing list