fix create index monitor task type

This commit is contained in:
Charles0429
2021-09-10 11:03:38 +08:00
committed by wangzelin.wzl
parent 07636e3c3d
commit c29d0907c7

View File

@ -483,7 +483,7 @@ int ObIndexPrepareTask::add_monitor_info(ObBuildIndexDag* dag)
}
// local sort task and merge task
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.type_ = ObILongOpsTaskStat::TaskType::SORT;
if (OB_FAIL(LONG_OPS_MONITOR_INSTANCE.update_task_stat(key, task_stat))) {