fix spm bugs and add some user friendly mechanisms

This commit is contained in:
obdev
2023-02-25 02:41:08 +00:00
committed by ob-robot
parent e43722b5d2
commit 59a94c10ac
23 changed files with 100 additions and 59 deletions

View File

@ -353,9 +353,6 @@ void ObPlanCacheManager::ObPlanCacheEliminationTask::run_plan_cache_task()
if (OB_FAIL(plan_cache->cache_evict())) {
SQL_PC_LOG(ERROR, "Plan cache evict failed, please check", K(ret));
}
if (OB_FAIL(plan_cache->asyn_update_baseline())) {
SQL_PC_LOG(ERROR, "asyn replace plan baseline failed", K(ret), K(tenant_id));
}
plan_cache->dec_ref_count();
}
}