[FEAT MERGE] Add LatchIds for locks and monitors

This commit is contained in:
raywill
2022-12-01 03:09:50 +00:00
committed by ob-robot
parent 3a86ba6ccc
commit 8fb62754a1
192 changed files with 967 additions and 912 deletions

View File

@ -32,7 +32,7 @@ using namespace oceanbase::sql;
ObDynamicSamplePieceMsg::ObDynamicSamplePieceMsg()
: expect_range_count_(), tablet_ids_(),
sample_type_(NOT_INIT_SAMPLE_TYPE), part_ranges_(),
row_stores_(), arena_(), spin_lock_()
row_stores_(), arena_(), spin_lock_(common::ObLatchIds::SQL_DYN_SAMPLE_MSG_LOCK)
{
}
@ -216,7 +216,8 @@ ObDynamicSamplePieceMsgCtx::ObDynamicSamplePieceMsgCtx(
exec_ctx_(exec_ctx),
last_store_row_(),
coord_(coord),
sort_def_(sort_def)
sort_def_(sort_def),
mutex_(common::ObLatchIds::SQL_DYN_SAMPLE_MSG_LOCK)
{
}