Fix performance reduction for 4.2

This commit is contained in:
obdev
2023-05-12 09:41:32 +00:00
committed by ob-robot
parent 2da06fac24
commit c2f84470a2
7 changed files with 319592 additions and 448370 deletions

View File

@ -2445,6 +2445,8 @@ void ObSQLSessionInfo::ObCachedTenantConfigInfo::refresh()
//timezone的更新频率非常低,放到后台驱动
(void)session_->update_timezone_info();
ATOMIC_STORE(&last_check_ec_ts_, cur_ts);
session_->update_tenant_config_version(
(::oceanbase::omt::ObTenantConfigMgr::get_instance()).get_tenant_config_version(effective_tenant_id));
}
UNUSED(tmp_ret);
}