agora inbox for pgpool-committers@postgresql.orghelp / color / mirror / Atom feed
pgpool: Feature: Add Lifecheck Started status to pcp_watchdog_info outp 2+ messages / 1 participants [nested] [flat]
* pgpool: Feature: Add Lifecheck Started status to pcp_watchdog_info outp @ 2026-04-15 01:51 Taiki Koshino <koshino@sraoss.co.jp> 0 siblings, 0 replies; 2+ messages in thread From: Taiki Koshino @ 2026-04-15 01:51 UTC (permalink / raw) To: pgpool-committers@lists.postgresql.org Feature: Add Lifecheck Started status to pcp_watchdog_info output. This commit enhances the pcp_watchdog_info command by adding a new field, Lifecheck Started, which indicates whether lifecheck has been started on each watchdog node (NO: not started, YES: started). This allows users to check the lifecheck status directly from the command output without inspecting logs. Add a lifecheck_started member to WatchdogNode. When the lifecheck process detects that lifecheck has started, it notifies the watchdog process, which sets lifecheck_started to true. When set to true, the status is propagated across the cluster. Add a lifecheck_status field to pcp_watchdog_info so that the latest lifecheck_started status is displayed when the command is called. Branch ------ master Details ------- https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=366e602bca9ecc70f91fb52afcad74facbcec... Modified Files -------------- doc.ja/src/sgml/ref/pcp_watchdog_info.sgml | 11 ++++++++--- doc/src/sgml/ref/pcp_watchdog_info.sgml | 10 +++++++--- src/include/pcp/pcp.h | 1 + src/include/watchdog/watchdog.h | 2 ++ src/include/watchdog/wd_commands.h | 2 ++ src/include/watchdog/wd_ipc_defines.h | 2 +- src/include/watchdog/wd_lifecheck.h | 3 ++- src/libs/pcp/pcp.c | 6 ++++++ src/tools/pcp/pcp_frontend_client.c | 8 +++++--- src/watchdog/watchdog.c | 13 +++++++++++++ src/watchdog/wd_commands.c | 7 +++++++ src/watchdog/wd_json_data.c | 4 +++- src/watchdog/wd_lifecheck.c | 10 +++++++++- 13 files changed, 66 insertions(+), 13 deletions(-) ^ permalink raw reply [nested|flat] 2+ messages in thread
* pgpool: Feature: Add Lifecheck Started status to pcp_watchdog_info outp @ 2026-04-15 01:53 Taiki Koshino <koshino@sraoss.co.jp> 0 siblings, 0 replies; 2+ messages in thread From: Taiki Koshino @ 2026-04-15 01:53 UTC (permalink / raw) To: pgpool-committers@lists.postgresql.org Feature: Add Lifecheck Started status to pcp_watchdog_info output. This commit enhances the pcp_watchdog_info command by adding a new field, Lifecheck Started, which indicates whether lifecheck has been started on each watchdog node (NO: not started, YES: started). This allows users to check the lifecheck status directly from the command output without inspecting logs. Add a lifecheck_started member to WatchdogNode. When the lifecheck process detects that lifecheck has started, it notifies the watchdog process, which sets lifecheck_started to true. When set to true, the status is propagated across the cluster. Add a lifecheck_status field to pcp_watchdog_info so that the latest lifecheck_started status is displayed when the command is called. Branch ------ V4_7_STABLE Details ------- https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=3f4401fff5eae8f885810dc8db2b6bd226229... Modified Files -------------- doc.ja/src/sgml/ref/pcp_watchdog_info.sgml | 11 ++++++++--- doc/src/sgml/ref/pcp_watchdog_info.sgml | 10 +++++++--- src/include/pcp/pcp.h | 1 + src/include/watchdog/watchdog.h | 2 ++ src/include/watchdog/wd_commands.h | 2 ++ src/include/watchdog/wd_ipc_defines.h | 2 +- src/include/watchdog/wd_lifecheck.h | 3 ++- src/libs/pcp/pcp.c | 6 ++++++ src/tools/pcp/pcp_frontend_client.c | 8 +++++--- src/watchdog/watchdog.c | 13 +++++++++++++ src/watchdog/wd_commands.c | 7 +++++++ src/watchdog/wd_json_data.c | 4 +++- src/watchdog/wd_lifecheck.c | 10 +++++++++- 13 files changed, 66 insertions(+), 13 deletions(-) ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2026-04-15 01:53 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2026-04-15 01:51 pgpool: Feature: Add Lifecheck Started status to pcp_watchdog_info outp Taiki Koshino <koshino@sraoss.co.jp> 2026-04-15 01:53 pgpool: Feature: Add Lifecheck Started status to pcp_watchdog_info outp Taiki Koshino <koshino@sraoss.co.jp>
This inbox is served by agora; see mirroring instructions for how to clone and mirror all data and code used for this inbox