fix bug of parallel in ob_virtual_load_data_stat

This commit is contained in:
obdev
2024-06-27 06:46:40 +00:00
committed by ob-robot
parent 9f035ef3ad
commit 964534025f

View File

@ -397,6 +397,7 @@ int ObTableLoadCoordinator::gen_apply_arg(ObDirectLoadResourceApplyArg &apply_ar
ctx_->param_.exe_mode_ = (ctx_->schema_.is_heap_table_ ?
(need_sort ? ObTableLoadExeMode::MULTIPLE_HEAP_TABLE_COMPACT : ObTableLoadExeMode::FAST_HEAP_TABLE) :
(need_sort ? ObTableLoadExeMode::MEM_COMPACT : ObTableLoadExeMode::GENERAL_TABLE_COMPACT));
ctx_->job_stat_->parallel_ = coordinator_session_count;
if (OB_FAIL(ObTableLoadService::add_assigned_task(apply_arg))) {
LOG_WARN("fail to add_assigned_task", KR(ret));
} else {