Fix performance reduction -- 002

This commit is contained in:
obdev
2023-05-23 08:11:35 +00:00
committed by ob-robot
parent 6c456e993f
commit 53c181dd36
14 changed files with 61 additions and 26 deletions

View File

@ -2428,6 +2428,7 @@ void ObSQLSessionInfo::ObCachedTenantConfigInfo::refresh()
ATOMIC_STORE(&sort_area_size_, tenant_config->_sort_area_size);
ATOMIC_STORE(&hash_area_size_, tenant_config->_hash_area_size);
ATOMIC_STORE(&enable_query_response_time_stats_, tenant_config->query_response_time_stats);
ATOMIC_STORE(&enable_user_defined_rewrite_rules_, tenant_config->enable_user_defined_rewrite_rules);
// 5.allow security audit
if (OB_SUCCESS != (tmp_ret = ObSecurityAuditUtils::check_allow_audit(*session_, at_type_))) {
LOG_WARN_RET(tmp_ret, "fail get tenant_config", "ret", tmp_ret,