[FEAT MERGE][CP]optimizer stats enhancement
Co-authored-by: 2149 <260391947@qq.com>
This commit is contained in:
@ -844,7 +844,9 @@ int ObTableRedefinitionTask::take_effect(const ObDDLTaskStatus next_task_status)
|
||||
} else {
|
||||
LOG_WARN("sync auto increment position failed", K(ret), K(object_id_), K(target_object_id_));
|
||||
}
|
||||
} else if (OB_FAIL(sync_stats_info())) {
|
||||
} else if (ObDDLType::DDL_DIRECT_LOAD != task_type_ &&
|
||||
ObDDLType::DDL_DIRECT_LOAD_INSERT != task_type_ &&
|
||||
OB_FAIL(sync_stats_info())) {//direct load no need sync stats info, because the stats have been regather
|
||||
LOG_WARN("fail to sync stats info", K(ret), K(object_id_), K(target_object_id_));
|
||||
} else if (OB_FAIL(ObDDLUtil::get_ddl_rpc_timeout(dst_tenant_id_, target_object_id_, ddl_rpc_timeout))) {
|
||||
LOG_WARN("get ddl rpc timeout fail", K(ret));
|
||||
|
||||
Reference in New Issue
Block a user