[CP] fix spm add baseline concurrent bug

This commit is contained in:
xxyd
2024-12-11 03:18:02 +00:00
committed by ob-robot
parent 4205b19369
commit 86b40ebc71
5 changed files with 4 additions and 12 deletions

View File

@ -6051,8 +6051,6 @@ int ObSQLUtils::handle_plan_baseline(const ObAuditRecordData &audit_record,
if (OB_FAIL(ObSpmController::accept_new_plan_as_baseline(sql_ctx.spm_ctx_, audit_record))) {
LOG_WARN("failed to accept new plan as baseline", K(ret));
}
} else if (OB_FAIL(ObSpmController::deny_new_plan_as_baseline(sql_ctx.spm_ctx_))) {
LOG_WARN("failed to deny new plan as baseline", K(ret));
}
return ret;
}