提交 c29d0907 编写于 作者: C Charles0429 提交者: wangzelin.wzl

fix create index monitor task type

上级 07636e3c
...@@ -483,7 +483,7 @@ int ObIndexPrepareTask::add_monitor_info(ObBuildIndexDag* dag) ...@@ -483,7 +483,7 @@ int ObIndexPrepareTask::add_monitor_info(ObBuildIndexDag* dag)
} }
// local sort task and merge task // local sort task and merge task
for (int64_t i = concurrent_cnt; OB_SUCC(ret) && i < total_task_cnt; ++i) { for (int64_t i = concurrent_cnt; OB_SUCC(ret) && i < total_task_cnt; ++i) {
ObCreateIndexScanTaskStat task_stat; ObCreateIndexSortTaskStat task_stat;
task_stat.task_id_ = i; task_stat.task_id_ = i;
task_stat.type_ = ObILongOpsTaskStat::TaskType::SORT; task_stat.type_ = ObILongOpsTaskStat::TaskType::SORT;
if (OB_FAIL(LONG_OPS_MONITOR_INSTANCE.update_task_stat(key, task_stat))) { if (OB_FAIL(LONG_OPS_MONITOR_INSTANCE.update_task_stat(key, task_stat))) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册