Re: Proposal: emit warning if life check has not started yet

From: Tatsuo Ishii <ishii(at)postgresql(dot)org>
To: pgpool-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Proposal: emit warning if life check has not started yet
Date: 2025-08-13 11:10:58
Message-ID: 20250813.201058.1085144912021648546.ishii@postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgpool-hackers

> Currently lifecheck emits a log only when life check becomes
> ready. This is inconvenient for admins since they need to watch log
> file until life check is ready. This commit changes life check to emit
> 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.
>
> Patch attached.

Patch pushed with slight commit message changes. Thanks.

https://git.postgresql.org/gitweb/?p=pgpool2.git;a=commit;h=a85b848cc5e749051e3edfb892bdb366f7c23a31
--
Tatsuo Ishii
SRA OSS K.K.
English: http://www.sraoss.co.jp/index_en/
Japanese:http://www.sraoss.co.jp

In response to

Browse pgpool-hackers by date

  From Date Subject
Next Message Tatsuo Ishii 2025-08-15 02:11:00 Proposal: change log_pcp_processes default to off
Previous Message Tatsuo Ishii 2025-08-08 02:47:34 Proposal: emit warning if life check has not started yet