[CP] [CP] Add diagnostic log for detection of schema mgr ref leak

This commit is contained in:
obdev
2022-08-25 18:15:35 +08:00
committed by wangzelin.wzl
parent 4e81072cd2
commit 50b76d0245
36 changed files with 134 additions and 30 deletions

View File

@ -91,6 +91,7 @@ public:
vt_iter_factory_(*gctx_.vt_iter_creator_),
phy_plan_(),
sql_ctx_(),
schema_guard_(share::schema::ObSchemaMgrItem::MOD_DIST_EXECUTER),
trans_state_(),
exec_record_(),
process_timestamp_(0),
@ -249,6 +250,7 @@ public:
vt_iter_factory_(*gctx_.vt_iter_creator_),
phy_plan_(),
sql_ctx_(),
schema_guard_(share::schema::ObSchemaMgrItem::MOD_MINI_TASK_BASE),
trans_state_(),
is_rollback_(false),
process_timestamp_(0),

View File

@ -251,7 +251,7 @@ bool ObDistributedTaskSpliter::ObSliceComparer::operator()(const ObSliceEvent* s
}
ObDistributedTaskSpliter::ObDistributedTaskSpliter()
: schema_guard_(),
: schema_guard_(share::schema::ObSchemaMgrItem::MOD_DIS_TASK_SPLITER),
table_locations_(ObModIds::OB_SQL_EXECUTOR_TASK_SPLITER, OB_MALLOC_NORMAL_BLOCK_SIZE),
part_shuffle_keys_(ObModIds::OB_SQL_EXECUTOR_TASK_SPLITER, OB_MALLOC_NORMAL_BLOCK_SIZE),
part_idxs_(ObModIds::OB_SQL_EXECUTOR_TASK_SPLITER, OB_MALLOC_NORMAL_BLOCK_SIZE),

View File

@ -27,6 +27,7 @@ public:
exec_ctx_(CURRENT_CONTEXT->get_arena_allocator(), gctx.session_mgr_),
vt_iter_factory_(*gctx_.vt_iter_creator_),
sql_ctx_(),
schema_guard_(share::schema::ObSchemaMgrItem::MOD_REMOTE_EXE),
trans_state_(),
exec_errcode_(common::OB_SUCCESS),
process_timestamp_(0),