[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

@ -126,6 +126,9 @@ int ObGlobalAutoIncService::init(const ObAddr &addr, ObMySQLProxy *mysql_proxy)
ObModIds::OB_AUTOINCREMENT))) {
LOG_WARN("init autoinc_map_ failed", K(ret));
} else {
for (int64_t i = 0; i < MUTEX_NUM; ++i) {
op_mutex_[i].set_latch_id(common::ObLatchIds::AUTO_INCREMENT_GAIS_LOCK);
}
self_ = addr;
is_inited_ = true;
}