[DeadLock] fix detector bug
This commit is contained in:
@ -169,7 +169,6 @@ ObSQLSessionInfo::ObSQLSessionInfo() :
|
||||
is_table_name_hidden_(false),
|
||||
piece_cache_(NULL),
|
||||
is_load_data_exec_session_(false),
|
||||
is_registered_to_deadlock_(false),
|
||||
pl_exact_err_msg_(),
|
||||
is_ps_prepare_stage_(false),
|
||||
got_conn_res_(false),
|
||||
@ -197,7 +196,6 @@ int ObSQLSessionInfo::init(uint32_t sessid, uint64_t proxy_sessid,
|
||||
UNUSED(tenant_id);
|
||||
int ret = OB_SUCCESS;
|
||||
static const int64_t PS_BUCKET_NUM = 64;
|
||||
set_registered_to_deadlock(false);
|
||||
if (OB_FAIL(ObBasicSessionInfo::init(sessid, proxy_sessid, bucket_allocator, tz_info))) {
|
||||
LOG_WARN("fail to init basic session info", K(ret));
|
||||
} else if (!is_acquire_from_pool() &&
|
||||
@ -325,7 +323,6 @@ void ObSQLSessionInfo::reset(bool skip_sys_var)
|
||||
prelock_ = false;
|
||||
proxy_version_ = 0;
|
||||
min_proxy_version_ps_ = 0;
|
||||
set_registered_to_deadlock(false);
|
||||
if (OB_NOT_NULL(mem_context_)) {
|
||||
destroy_contexts_map(contexts_map_, mem_context_->get_malloc_allocator());
|
||||
DESTROY_CONTEXT(mem_context_);
|
||||
|
||||
Reference in New Issue
Block a user