Rename "wd_initial_node_showup_time" to "wd_no_show_node_removal_timeout".
NULL, NULL, NULL
},
{
- {"wd_initial_node_showup_time", CFGCXT_RELOAD, WATCHDOG_CONFIG,
+ {"wd_no_show_node_removal_timeout", CFGCXT_RELOAD, WATCHDOG_CONFIG,
"Timeout in seconds to revoke the cluster membership of NO-SHOW watchdog nodes.",
CONFIG_VAR_TYPE_INT, false, GUC_UNIT_S
},
- &g_pool_config.wd_initial_node_showup_time,
+ &g_pool_config.wd_no_show_node_removal_timeout,
0,
0, INT_MAX,
NULL, NULL, NULL
/* timeout in seconds to revoke membership of
* LOST watchdog nodes
*/
- int wd_initial_node_showup_time;
+ int wd_no_show_node_removal_timeout;
/* time in seconds to revoke membership of
* NO-SHOW watchdog node
*/
# setting timeout to 0 will never revoke the membership
# of LOST nodes
-#wd_initial_node_showup_time = 0s
+#wd_no_show_node_removal_timeout = 0s
# Time to wait for Watchdog node to connect to the cluster.
# After that time the cluster membership of NO-SHOW node gets
# revoked and it does not count towards the quorum and
}
if (wdNode->state == WD_DEAD && wdNode->membership_status == WD_NODE_MEMBERSHIP_ACTIVE
- && pool_config->wd_initial_node_showup_time)
+ && pool_config->wd_no_show_node_removal_timeout)
{
int no_show_seconds = WD_TIME_DIFF_SEC(currTime, g_cluster.localNode->startup_time);
- if (no_show_seconds >= pool_config->wd_initial_node_showup_time)
+ if (no_show_seconds >= pool_config->wd_no_show_node_removal_timeout)
{
ereport(LOG,
(errmsg("remote node \"%s\" didn't showed-up in %d seconds", wdNode->nodeName,no_show_seconds),