提交 4c39375c 编写于 作者: A Ashwin Agrawal

Make FTS gucs PGC_SIGHUP instead of PGC_POSTMASTER.

上级 90d1501b
......@@ -139,11 +139,6 @@ int gp_fts_probe_interval = 60;
*/
int gp_fts_probe_threadcount = 16;
/*
* Controls parallel segment transition (failover).
*/
bool gp_fts_transition_parallel = true;
/* The number of retries to request a segment state transition. */
int gp_fts_transition_retries = 5;
......
......@@ -607,7 +607,6 @@ void FtsLoop()
prober_sleep:
{
/* check if we need to sleep before starting next iteration */
elapsed = time(NULL) - probe_start_time;
if (elapsed < gp_fts_probe_interval && !shutdown_requested)
......
......@@ -1040,16 +1040,6 @@ struct config_bool ConfigureNamesBool_gp[] =
false, NULL, NULL
},
{
{"gp_fts_transition_parallel", PGC_POSTMASTER, GP_ARRAY_TUNING,
gettext_noop("Activate parallel segment transition."),
NULL,
GUC_NO_SHOW_ALL | GUC_NOT_IN_SAMPLE
},
&gp_fts_transition_parallel,
true, NULL, NULL
},
{
{"gp_debug_pgproc", PGC_POSTMASTER, DEVELOPER_OPTIONS,
gettext_noop("Print debug info relevant to PGPROC."),
......@@ -3483,7 +3473,7 @@ struct config_int ConfigureNamesInt_gp[] =
},
{
{"gp_fts_probe_retries", PGC_POSTMASTER, GP_ARRAY_TUNING,
{"gp_fts_probe_retries", PGC_SIGHUP, GP_ARRAY_TUNING,
gettext_noop("Number of retries for FTS to complete probing a segment."),
gettext_noop("Used by the fts-probe process."),
GUC_NO_SHOW_ALL | GUC_NOT_IN_SAMPLE
......@@ -3493,7 +3483,7 @@ struct config_int ConfigureNamesInt_gp[] =
},
{
{"gp_fts_probe_timeout", PGC_USERSET, GP_ARRAY_TUNING,
{"gp_fts_probe_timeout", PGC_SIGHUP, GP_ARRAY_TUNING,
gettext_noop("Maximum time (in seconds) allowed for FTS to complete probing a segment."),
gettext_noop("Used by the fts-probe process."),
GUC_UNIT_S
......@@ -3503,7 +3493,7 @@ struct config_int ConfigureNamesInt_gp[] =
},
{
{"gp_fts_probe_interval", PGC_POSTMASTER, GP_ARRAY_TUNING,
{"gp_fts_probe_interval", PGC_SIGHUP, GP_ARRAY_TUNING,
gettext_noop("A complete probe of all segments starts each time a timer with this period expires."),
gettext_noop("Used by the fts-probe process. "),
GUC_UNIT_S
......
......@@ -347,7 +347,6 @@ extern int gp_fts_probe_retries; /* GUC var - specifies probe number of retries
extern int gp_fts_probe_timeout; /* GUC var - specifies probe timeout for FTS */
extern int gp_fts_probe_interval; /* GUC var - specifies polling interval for FTS */
extern int gp_fts_probe_threadcount; /* GUC var - specifies number of threads to use for FTS probes */
extern bool gp_fts_transition_parallel; /* GUC var - controls parallel segment transition for FTS */
extern int gp_gang_creation_retry_count; /* How many retries ? */
extern int gp_gang_creation_retry_timer; /* How long between retries */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册