[FEAT MERGE] OLTP performance and cpu reduction optimization under tiny specification

Co-authored-by: hezuojiao <hezuojiao@gmail.com>
This commit is contained in:
obdev
2023-04-26 15:30:17 +00:00
committed by ob-robot
parent 8ad13af591
commit 8fb50cdf65
179 changed files with 3131 additions and 1425 deletions

View File

@ -12,7 +12,10 @@
#define USING_LOG_PREFIX SHARE
#include "lib/ob_name_id_def.h" //OB_ID
#include "share/ob_tenant_role.h"
#include "lib/utility/ob_print_utils.h" //TO_STRING_KV
#include "lib/trace/ob_trace_event.h"
using namespace oceanbase;
using namespace oceanbase::common;
@ -29,6 +32,8 @@ static const char* TENANT_ROLE_ARRAY[] =
};
OB_SERIALIZE_MEMBER(ObTenantRole, value_);
DEFINE_TO_YSON_KV(ObTenantRole,
OB_ID(value), value_);
const char* ObTenantRole::to_str() const
{