[FEAT MERGE] support auto dop

This commit is contained in:
obdev
2023-04-28 15:11:52 +00:00
committed by ob-robot
parent 642f1c7d84
commit b41dc0ebdd
106 changed files with 3815 additions and 2844 deletions

View File

@ -195,9 +195,11 @@ int ObUpdateLogPlan::generate_normal_raw_plan()
// step. allocate update operator
if (OB_SUCC(ret)) {
if (OB_FAIL(prepare_dml_infos())) {
if (OB_FAIL(compute_dml_parallel())) { // compute parallel before call prepare_dml_infos
LOG_WARN("failed to compute dml parallel", K(ret));
} else if (OB_FAIL(prepare_dml_infos())) {
LOG_WARN("failed to prepare dml infos", K(ret));
} else if (get_optimizer_context().use_pdml()) {
} else if (use_pdml()) {
// PDML计划
if (OB_FAIL(candi_allocate_pdml_update())) {
LOG_WARN("failed to allocate pdml update operator", K(ret));