[CP] [CP] Add diagnostic log for detection of schema mgr ref leak
This commit is contained in:
@ -2666,6 +2666,7 @@ ObShuffleTaskHandle::ObShuffleTaskHandle(
|
||||
ObInsertValueGenerator& main_generator, ObPartIdCalculator& main_calculator, ObDataFragMgr& main_datafrag_mgr)
|
||||
: exec_ctx(GCTX.session_mgr_),
|
||||
data_buffer(NULL),
|
||||
schema_guard(share::schema::ObSchemaMgrItem::MOD_SHUFFLE_TASK_HANDLE),
|
||||
generator(main_generator),
|
||||
calculator(main_calculator),
|
||||
datafrag_mgr(main_datafrag_mgr)
|
||||
|
||||
@ -924,6 +924,7 @@ public:
|
||||
|
||||
ObLoadDataImpl()
|
||||
: // arguments
|
||||
schema_guard_(share::schema::ObSchemaMgrItem::MOD_LOAD_DATA_IMPL),
|
||||
part_level_(share::schema::PARTITION_LEVEL_ZERO),
|
||||
part_num_(0),
|
||||
initial_step_(FIND_LINE_START),
|
||||
|
||||
@ -67,7 +67,6 @@ private:
|
||||
sql::ObPhysicalPlan phy_plan_;
|
||||
common::ObArenaAllocator des_allocator_;
|
||||
// observer::ObVirtualTableIteratorFactory vt_iter_factory_;
|
||||
// share::schema::ObSchemaGetterGuard schema_guard_;
|
||||
};
|
||||
|
||||
class ObInitFastSqcP : public obrpc::ObRpcProcessor<obrpc::ObPxRpcProxy::ObRpc<obrpc::OB_PX_FAST_INIT_SQC>> {
|
||||
|
||||
@ -46,7 +46,7 @@ ObPxTaskProcess::ObPxTaskProcess(const observer::ObGlobalContext& gctx, ObPxRpcI
|
||||
: gctx_(gctx),
|
||||
arg_(arg),
|
||||
sql_ctx_(),
|
||||
schema_guard_(),
|
||||
schema_guard_(share::schema::ObSchemaMgrItem::MOD_PX_TASK_PROCESSS),
|
||||
vt_iter_factory_(*gctx.vt_iter_creator_),
|
||||
enqueue_timestamp_(0),
|
||||
process_timestamp_(0),
|
||||
|
||||
@ -112,6 +112,7 @@ public:
|
||||
output_row_count_(-1),
|
||||
iter_end_(false),
|
||||
partition_id_(OB_INVALID_INDEX),
|
||||
schema_guard_(share::schema::ObSchemaMgrItem::MOD_TABLE_SCAN),
|
||||
iterated_rows_(0),
|
||||
is_partition_list_empty_(false),
|
||||
got_feedback_(false),
|
||||
|
||||
@ -443,6 +443,7 @@ ObTableScanOp::ObTableScanOp(ObExecContext& exec_ctx, const ObOpSpec& spec, ObOp
|
||||
output_row_count_(-1),
|
||||
iter_end_(false),
|
||||
partition_id_(OB_INVALID_INDEX),
|
||||
schema_guard_(share::schema::ObSchemaMgrItem::MOD_TABLE_SCAN),
|
||||
iterated_rows_(0),
|
||||
is_partition_list_empty_(false),
|
||||
got_feedback_(false),
|
||||
|
||||
Reference in New Issue
Block a user