Merge branch 'master' into fix_new_05

This commit is contained in:
csch
2023-09-06 11:23:56 +08:00
committed by GitHub
422 changed files with 48915 additions and 4032 deletions

View File

@ -47,7 +47,7 @@ int ObDDLExecutorUtil::handle_session_exception(ObSQLSessionInfo &session)
int ObDDLExecutorUtil::wait_ddl_finish(
const uint64_t tenant_id,
const int64_t task_id,
ObSQLSessionInfo &session,
ObSQLSessionInfo *session,
obrpc::ObCommonRpcProxy *common_rpc_proxy,
const bool is_support_cancel)
{
@ -93,8 +93,8 @@ int ObDDLExecutorUtil::wait_ddl_finish(
}
if (OB_FAIL(ret)) {
} else if (OB_FAIL(handle_session_exception(session))) {
LOG_WARN("session exception happened", K(ret), K(is_support_cancel));
} else if (nullptr != session && OB_FAIL(handle_session_exception(*session))) {
LOG_WARN("session exeception happened", K(ret), K(is_support_cancel));
if (is_support_cancel && OB_TMP_FAIL(cancel_ddl_task(tenant_id, common_rpc_proxy))) {
LOG_WARN("cancel ddl task failed", K(tmp_ret));
ret = OB_SUCCESS;