public inbox for [email protected]  
help / color / mirror / Atom feed
From: Tatsuo Ishii <[email protected]>
To: [email protected]
Subject: pgpool: Fix health check process to not start.
Date: Tue, 06 Jan 2026 11:25:26 +0000
Message-ID: <[email protected]> (raw)

Fix health check process to not start.

Previously pgpool_main() did not start a health check process if the
backend node is down.  This prevented auto_failback from working.
Pgpool reads status from pool_status file when "-D" option is not
present.  If the status recorded in the file is "down", pgpool will
not start health check process for the node.  Since auto_failback is
invoked from health check process, this means that auto_failback does
not work for the backend node.

Fix is, unconditionally start health check process.

Author: Tatsuo Ishii <[email protected]>
Reported-by: Meng Feilong
Discussion: https://github.com/pgpool/pgpool2/issues/140
Backpatch-through: v4.3

Branch
------
V4_5_STABLE

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

Modified Files
--------------
src/main/pgpool_main.c | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)



reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: pgpool: Fix health check process to not start.
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox