pgpool: Emit warning if life check has not started yet.

From: Tatsuo Ishii <ishii(at)postgresql(dot)org>
To: pgpool-committers(at)lists(dot)postgresql(dot)org
Subject: pgpool: Emit warning if life check has not started yet.
Date: 2025-08-13 11:09:00
Message-ID: E1um9Lp-004TVv-0B@gothos.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgpool-committers

Emit warning if life check has not started yet.

Currently lifecheck emits a log only when life check becomes
ready. This is inconvenient for admins since they need to keep on
watching log file until life check is ready. This commit makes the
life check process to emit additional warnings periodically until life
check has started. The interval of the warnings is wd_interval * 10
seconds. However for the first time at lifecheck starting, no warning
is emitted since it is likely that lifecheck is not ready at that
point.

Branch
------
master

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

Modified Files
--------------
src/watchdog/wd_lifecheck.c | 9 +++++++++
1 file changed, 9 insertions(+)

Browse pgpool-committers by date

  From Date Subject
Next Message Bo Peng 2025-08-15 02:20:20 pgpool: Update pgpool.spec to prevent RPM build errors.
Previous Message Tatsuo Ishii 2025-08-07 06:59:23 pgpool: Fix comment and update copyright year in pgpool_main.c