[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

@ -1657,12 +1657,19 @@ int ObMultiVersionSchemaService::retry_get_schema_guard(
return ret;
}
ObMultiVersionSchemaService::ObMultiVersionSchemaService()
ObMultiVersionSchemaService::ObMultiVersionSchemaService() :
init_(false),
schema_refresh_mutex_(common::ObLatchIds::REFRESH_SCHEMA_LOCK),
schema_cache_(),
schema_mgr_cache_(),
schema_mgr_cache_for_liboblog_(),
schema_fetcher_(),
schema_info_rwlock_(common::ObLatchIds::REFRESHED_SCHEMA_CACHE_LOCK),
last_refreshed_schema_info_(),
init_version_cnt_(OB_INVALID_COUNT),
init_version_cnt_for_liboblog_(OB_INVALID_COUNT),
schema_store_map_()
{
init_ = false;
init_version_cnt_ = OB_INVALID_COUNT;
init_version_cnt_for_liboblog_ = OB_INVALID_COUNT;
last_refreshed_schema_info_.reset();
}
ObMultiVersionSchemaService::~ObMultiVersionSchemaService()