Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
oceanbase
oceanbase
提交
a681bc42
O
oceanbase
项目概览
oceanbase
/
oceanbase
9 个月 前同步成功
通知
261
Star
6084
Fork
1301
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
O
oceanbase
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
a681bc42
编写于
4月 28, 2024
作者:
O
obdev
提交者:
ob-robot
4月 28, 2024
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[CP] [to #55866822] add _enable_dbms_job_package parameter
上级
2a50937d
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
19 addition
and
0 deletion
+19
-0
src/rootserver/ob_root_service.cpp
src/rootserver/ob_root_service.cpp
+14
-0
src/rootserver/ob_root_service.h
src/rootserver/ob_root_service.h
+1
-0
src/share/parameter/ob_parameter_seed.ipp
src/share/parameter/ob_parameter_seed.ipp
+3
-0
tools/deploy/mysql_test/test_suite/inner_table/r/mysql/all_virtual_sys_parameter_stat.result
...inner_table/r/mysql/all_virtual_sys_parameter_stat.result
+1
-0
未找到文件。
src/rootserver/ob_root_service.cpp
浏览文件 @
a681bc42
...
...
@@ -2011,6 +2011,8 @@ int ObRootService::execute_bootstrap(const obrpc::ObBootstrapArg &arg)
LOG_WARN
(
"failed to update cpu_quota_concurrency"
,
K
(
ret
));
}
else
if
(
OB_FAIL
(
set_enable_trace_log_
()))
{
LOG_WARN
(
"fail to set one phase commit config"
,
K
(
ret
));
}
else
if
(
OB_FAIL
(
disable_dbms_job
()))
{
LOG_WARN
(
"failed to update _enable_dbms_job_package"
,
K
(
ret
));
}
if
(
OB_SUCC
(
ret
))
{
...
...
@@ -11062,6 +11064,18 @@ int ObRootService::set_cpu_quota_concurrency_config_()
return
ret
;
}
int
ObRootService
::
disable_dbms_job
()
{
int64_t
affected_rows
=
0
;
int
ret
=
OB_SUCCESS
;
if
(
OB_FAIL
(
sql_proxy_
.
write
(
"ALTER SYSTEM SET _enable_dbms_job_package = false;"
,
affected_rows
)))
{
LOG_WARN
(
"update _enable_dbms_job_package to false failed"
,
K
(
ret
));
}
else
if
(
OB_FAIL
(
check_config_result
(
"_enable_dbms_job_package"
,
"false"
)))
{
LOG_WARN
(
"failed to check config same"
,
K
(
ret
));
}
return
ret
;
}
int
ObRootService
::
handle_recover_table
(
const
obrpc
::
ObRecoverTableArg
&
arg
)
{
int
ret
=
OB_SUCCESS
;
...
...
src/rootserver/ob_root_service.h
浏览文件 @
a681bc42
...
...
@@ -913,6 +913,7 @@ private:
void
update_cpu_quota_concurrency_in_memory_
();
int
set_cpu_quota_concurrency_config_
();
int
set_enable_trace_log_
();
int
disable_dbms_job
();
int
try_notify_switch_leader
(
const
obrpc
::
ObNotifySwitchLeaderArg
::
SwitchLeaderComment
&
comment
);
int
precheck_interval_part
(
const
obrpc
::
ObAlterTableArg
&
arg
);
...
...
src/share/parameter/ob_parameter_seed.ipp
浏览文件 @
a681bc42
...
...
@@ -1918,3 +1918,6 @@ DEF_BOOL(_allow_skip_replay_redo_after_detete_tablet, OB_TENANT_PARAMETER, "FALS
"allow skip replay invalid redo log after tablet delete transaction is committed."
"The default value is FALSE. Value: TRUE means we allow skip replaying this invalid redo log, False means we do not alow such behavior.",
ObParameterAttr(Section::OBSERVER, Source::DEFAULT, EditLevel::DYNAMIC_EFFECTIVE));
DEF_BOOL(_enable_dbms_job_package, OB_CLUSTER_PARAMETER, "True",
"Control whether can use DBMS_JOB package.",
ObParameterAttr(Section::OBSERVER, Source::DEFAULT, EditLevel::DYNAMIC_EFFECTIVE));
tools/deploy/mysql_test/test_suite/inner_table/r/mysql/all_virtual_sys_parameter_stat.result
浏览文件 @
a681bc42
...
...
@@ -290,6 +290,7 @@ _enable_choose_migration_source_policy
_enable_compaction_diagnose
_enable_convert_real_to_decimal
_enable_dblink_reuse_connection
_enable_dbms_job_package
_enable_defensive_check
_enable_easy_keepalive
_enable_hash_join_hasher
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录