[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

@ -116,9 +116,11 @@ int ObDeleteLogPlan::generate_normal_raw_plan()
// 4. allocate delete 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()) {
if (OB_FAIL(candi_allocate_pdml_delete())) {
LOG_WARN("failed to allocate pdml as top", K(ret));
} else {