[FEAT MERGE] Merge syslog user experience improvement to master

Co-authored-by: Charles0429 <xiezhenjiang@gmail.com>
Co-authored-by: tino247 <tino247@126.com>
Co-authored-by: chaser-ch <chaser.ch@antgroup.com>
This commit is contained in:
stdliu
2023-02-06 15:52:23 +08:00
committed by ob-robot
parent 1de9266dd0
commit f8c5c2647f
796 changed files with 4465 additions and 3036 deletions

View File

@ -51,7 +51,7 @@ void ObCacheObjectFactory::inner_free(ObILibCacheObject *&cache_obj,
uint64_t tenant_id = cache_obj->get_tenant_id();
ObPlanCache *lib_cache = MTL(ObPlanCache*);
if (OB_ISNULL(lib_cache)) {
LOG_WARN("invalid null plan cache");
LOG_WARN_RET(OB_ERR_UNEXPECTED, "invalid null plan cache");
} else {
lib_cache->free_cache_obj(cache_obj, ref_handle);
}
@ -62,7 +62,7 @@ void ObCacheObjectFactory::inner_free(ObPlanCache *pc,
const CacheRefHandleID ref_handle)
{
if (OB_ISNULL(pc)) {
LOG_WARN("invalid null plan cache");
LOG_WARN_RET(OB_INVALID_ARGUMENT, "invalid null plan cache");
} else {
pc->free_cache_obj(cache_obj, ref_handle);
}