[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

@ -1273,7 +1273,7 @@ void ObPlanCacheValue::reset()
reset_tpl_sql_const_cons();
if (OB_SUCCESS != outline_params_wrapper_.destroy()) {
LOG_ERROR("fail to destroy ObOutlineParamWrapper");
LOG_ERROR_RET(OB_ERROR, "fail to destroy ObOutlineParamWrapper");
}
outline_params_wrapper_.reset_allocator();
//use_global_location_cache_ = true;
@ -1303,7 +1303,7 @@ int64_t ObPlanCacheValue::get_mem_size()
int64_t value_mem_size = 0;
DLIST_FOREACH_NORET(plan_set, plan_sets_) {
if (OB_ISNULL(plan_set)) {
BACKTRACE(ERROR, true, "invalid plan_set");
BACKTRACE_RET(ERROR, OB_ERR_UNEXPECTED, true, "invalid plan_set");
} else {
value_mem_size += plan_set->get_mem_size();
}