fix direct load unable to handle exceptions resulting in process stuck bug

This commit is contained in:
obdev
2023-07-17 12:12:13 +00:00
committed by ob-robot
parent a0b5491f27
commit b3426626dc
4 changed files with 58 additions and 16 deletions

View File

@ -66,9 +66,9 @@ public:
int64_t &affected_rows);
static int wait_build_index_finish(const uint64_t tenant_id, const int64_t task_id, bool &is_finish);
static int handle_session_exception(ObSQLSessionInfo &session);
static int cancel_ddl_task(const int64_t tenant_id, obrpc::ObCommonRpcProxy *common_rpc_proxy);
private:
static inline bool is_server_stopped() { return observer::ObServer::get_instance().is_stopped(); }
static int cancel_ddl_task(const int64_t tenant_id, obrpc::ObCommonRpcProxy *common_rpc_proxy);
private:
DISALLOW_COPY_AND_ASSIGN(ObDDLExecutorUtil);
};