From 7b2d31f0ff4eae39e267cad38dab77bc287df418 Mon Sep 17 00:00:00 2001 From: YangEfei Date: Fri, 26 Apr 2024 08:46:13 +0000 Subject: [PATCH] [TABLELOCK] fix core which is cauesd by release exec_ctx and phy_plan_ctx concurrently --- src/storage/tablelock/ob_lock_func_executor.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/storage/tablelock/ob_lock_func_executor.cpp b/src/storage/tablelock/ob_lock_func_executor.cpp index 5a31a6840..4d7281182 100644 --- a/src/storage/tablelock/ob_lock_func_executor.cpp +++ b/src/storage/tablelock/ob_lock_func_executor.cpp @@ -947,6 +947,7 @@ int ObReleaseAllLockExecutor::execute(const int64_t client_session_id) OZ (ObLockFuncContext::valid_execute_context(exec_ctx)); OZ (execute_(exec_ctx, client_session_id, release_cnt)); + OX (exec_ctx.set_physical_plan_ctx(nullptr)); // avoid core during release exec_ctx } }