[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

@ -33,7 +33,7 @@ namespace rootserver
{
ObBackupTaskSchedulerQueue::ObBackupTaskSchedulerQueue()
: is_inited_(false),
mutex_(),
mutex_(common::ObLatchIds::BACKUP_LOCK),
max_size_(0),
tenant_stat_map_(nullptr),
server_stat_map_(nullptr),
@ -1060,7 +1060,7 @@ ObBackupTaskScheduler::ObBackupTaskScheduler()
: ObRsReentrantThread(true),
is_inited_(false),
idling_(stop_),
scheduler_mtx_(),
scheduler_mtx_(common::ObLatchIds::BACKUP_LOCK),
tenant_stat_map_(),
server_stat_map_(),
queue_(),