agora inbox for pgpool-committers@postgresql.org  
help / color / mirror / Atom feed
pgpool: Fix health check process to not start.
5+ messages / 1 participants
[nested] [flat]

* pgpool: Fix health check process to not start.
@ 2026-01-06 11:25 Tatsuo Ishii <ishii@postgresql.org>
  0 siblings, 0 replies; 5+ messages in thread

From: Tatsuo Ishii @ 2026-01-06 11:25 UTC (permalink / raw)
  To: pgpool-committers@lists.postgresql.org

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 <ishii@postgresql.org>
Reported-by: Meng Feilong
Discussion: https://github.com/pgpool/pgpool2/issues/140
Backpatch-through: v4.3

Branch
------
V4_4_STABLE

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

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



^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* pgpool: Fix health check process to not start.
@ 2026-01-06 11:25 Tatsuo Ishii <ishii@postgresql.org>
  0 siblings, 0 replies; 5+ messages in thread

From: Tatsuo Ishii @ 2026-01-06 11:25 UTC (permalink / raw)
  To: pgpool-committers@lists.postgresql.org

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 <ishii@postgresql.org>
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(-)



^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* pgpool: Fix health check process to not start.
@ 2026-01-06 11:25 Tatsuo Ishii <ishii@postgresql.org>
  0 siblings, 0 replies; 5+ messages in thread

From: Tatsuo Ishii @ 2026-01-06 11:25 UTC (permalink / raw)
  To: pgpool-committers@lists.postgresql.org

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 <ishii@postgresql.org>
Reported-by: Meng Feilong
Discussion: https://github.com/pgpool/pgpool2/issues/140
Backpatch-through: v4.3

Branch
------
V4_6_STABLE

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

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



^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* pgpool: Fix health check process to not start.
@ 2026-01-06 11:25 Tatsuo Ishii <ishii@postgresql.org>
  0 siblings, 0 replies; 5+ messages in thread

From: Tatsuo Ishii @ 2026-01-06 11:25 UTC (permalink / raw)
  To: pgpool-committers@lists.postgresql.org

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 <ishii@postgresql.org>
Reported-by: Meng Feilong
Discussion: https://github.com/pgpool/pgpool2/issues/140
Backpatch-through: v4.3

Branch
------
V4_7_STABLE

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

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



^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* pgpool: Fix health check process to not start.
@ 2026-01-06 11:25 Tatsuo Ishii <ishii@postgresql.org>
  0 siblings, 0 replies; 5+ messages in thread

From: Tatsuo Ishii @ 2026-01-06 11:25 UTC (permalink / raw)
  To: pgpool-committers@lists.postgresql.org

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 <ishii@postgresql.org>
Reported-by: Meng Feilong
Discussion: https://github.com/pgpool/pgpool2/issues/140
Backpatch-through: v4.3

Branch
------
master

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

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



^ permalink  raw  reply  [nested|flat] 5+ messages in thread


end of thread, other threads:[~2026-01-06 11:25 UTC | newest]

Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2026-01-06 11:25 pgpool: Fix health check process to not start. Tatsuo Ishii <ishii@postgresql.org>
2026-01-06 11:25 pgpool: Fix health check process to not start. Tatsuo Ishii <ishii@postgresql.org>
2026-01-06 11:25 pgpool: Fix health check process to not start. Tatsuo Ishii <ishii@postgresql.org>
2026-01-06 11:25 pgpool: Fix health check process to not start. Tatsuo Ishii <ishii@postgresql.org>
2026-01-06 11:25 pgpool: Fix health check process to not start. Tatsuo Ishii <ishii@postgresql.org>

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