[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

@ -42,7 +42,8 @@ class ObTabletAutoincMgr: public common::LinkHashValue<ObTabletAutoincKey>
{
public:
ObTabletAutoincMgr()
: tablet_id_(),
: mutex_(ObLatchIds::TABLET_AUTO_INCREMENT_MGR_LOCK),
tablet_id_(),
next_value_(1),
last_refresh_ts_(common::ObTimeUtility::current_time()),
cache_size_(DEFAULT_TABLET_INCREMENT_CACHE_SIZE),