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: Proposal: emit warning if life check has not started yet
Date: 2025-08-08 02:47:34
Message-ID: 20250808.114734.428503094104035498.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.
--
Tatsuo Ishii
SRA OSS K.K.
English: http://www.sraoss.co.jp/index_en/
Japanese:http://www.sraoss.co.jp

Attachment Content-Type Size
v1-0001-Emit-warning-if-life-check-has-not-started-yet.patch application/octet-stream 1.5 KB

Responses

Browse pgpool-hackers by date

  From Date Subject
Next Message Tatsuo Ishii 2025-08-13 11:10:58 Re: Proposal: emit warning if life check has not started yet
Previous Message Bo Peng 2025-07-17 05:37:02 Re: Proposal: make the online recovery database configurable