Fix auto-commit of rebuild hidden table index
This commit is contained in:
@ -443,7 +443,7 @@ int ObTableRedefinitionTask::copy_table_indexes()
|
||||
int64_t active_task_cnt = 0;
|
||||
// check if has rebuild index
|
||||
if (has_rebuild_index_) {
|
||||
} else if (OB_FAIL(ObDDLTaskRecordOperator::get_create_index_task_cnt(GCTX.root_service_->get_sql_proxy(), tenant_id_, object_id_, active_task_cnt))) {
|
||||
} else if (OB_FAIL(ObDDLTaskRecordOperator::get_create_index_task_cnt(GCTX.root_service_->get_sql_proxy(), dst_tenant_id_, target_object_id_, active_task_cnt))) {
|
||||
LOG_WARN("failed to check index task cnt", K(ret));
|
||||
} else if (active_task_cnt >= MAX_ACTIVE_TASK_CNT) {
|
||||
ret = OB_EAGAIN;
|
||||
|
||||
Reference in New Issue
Block a user