Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Greenplum
Gpdb
提交
4c39375c
G
Gpdb
项目概览
Greenplum
/
Gpdb
通知
7
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
Gpdb
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
4c39375c
编写于
3月 16, 2018
作者:
A
Ashwin Agrawal
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Make FTS gucs PGC_SIGHUP instead of PGC_POSTMASTER.
上级
90d1501b
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
3 addition
and
20 deletion
+3
-20
src/backend/cdb/cdbvars.c
src/backend/cdb/cdbvars.c
+0
-5
src/backend/fts/fts.c
src/backend/fts/fts.c
+0
-1
src/backend/utils/misc/guc_gp.c
src/backend/utils/misc/guc_gp.c
+3
-13
src/include/cdb/cdbvars.h
src/include/cdb/cdbvars.h
+0
-1
未找到文件。
src/backend/cdb/cdbvars.c
浏览文件 @
4c39375c
...
...
@@ -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
;
...
...
src/backend/fts/fts.c
浏览文件 @
4c39375c
...
...
@@ -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
)
...
...
src/backend/utils/misc/guc_gp.c
浏览文件 @
4c39375c
...
...
@@ -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
...
...
src/include/cdb/cdbvars.h
浏览文件 @
4c39375c
...
...
@@ -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.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录