From: Tatsuo Ishii Date: Fri, 15 Aug 2025 07:37:41 +0000 (+0900) Subject: Fix comment in watchdog. X-Git-Url: http://waps.l3s.uni-hannover.de/gitweb/config.php?a=commitdiff_plain;h=0b1ffa2d29b520db8dfe91bd150b56aff495a40d;p=pgpool2.git Fix comment in watchdog. Fix a comment in watchdog_state_machine_standby(). When commit b2f1526958 changed from: last_rcv_sec >= (2 * BEACON_MESSAGE_INTERVAL_SECONDS)) to: last_rcv_sec >= (3 * BEACON_MESSAGE_INTERVAL_SECONDS)) The comment below was left unchanged "two" instead of "three". Also fix small typo. Backpatch-though: master only --- diff --git a/src/watchdog/watchdog.c b/src/watchdog/watchdog.c index 31aec1735..3913d692d 100644 --- a/src/watchdog/watchdog.c +++ b/src/watchdog/watchdog.c @@ -7300,7 +7300,7 @@ watchdog_state_machine_standby(WD_EVENTS event, WatchdogNode *wdNode, WDPacketDa if (last_rcv_sec >= (3 * BEACON_MESSAGE_INTERVAL_SECONDS)) { - /* we have missed atleast two beacons from leader node */ + /* we have missed at least three beacons from leader node */ ereport(WARNING, (errmsg("we have not received a beacon message from leader node \"%s\" and it has not replied to our info request", WD_LEADER_NODE->nodeName),