fix create index monitor task type
This commit is contained in:

committed by
wangzelin.wzl

parent
07636e3c3d
commit
c29d0907c7
@ -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))) {
|
||||||
|
Reference in New Issue
Block a user