rename parameter tenant_rpc_memory_limit_percentage to rpc_memory_limit_percentage
This commit is contained in:
parent
475c344f8b
commit
c48cb71455
@ -252,7 +252,7 @@ int ObTenantDutyTask::update_tenant_rpc_percentage(uint64_t tenant_id)
|
||||
if (!tenant_config.is_valid()) {
|
||||
// do nothing
|
||||
} else {
|
||||
int64_t rpc_pct_lmt = tenant_config->tenant_rpc_memory_limit_percentage;
|
||||
int64_t rpc_pct_lmt = tenant_config->rpc_memory_limit_percentage;
|
||||
if (0 == rpc_pct_lmt) {
|
||||
rpc_pct_lmt = 100;
|
||||
}
|
||||
|
@ -695,7 +695,7 @@ DEF_BOOL(_enable_pkt_nio, OB_CLUSTER_PARAMETER, "False",
|
||||
"enable pkt-nio, the new RPC framework"
|
||||
"Value: True:turned on; False: turned off",
|
||||
ObParameterAttr(Section::TENANT, Source::DEFAULT, EditLevel::DYNAMIC_EFFECTIVE));
|
||||
DEF_INT(tenant_rpc_memory_limit_percentage, OB_TENANT_PARAMETER, "0", "[0,100]",
|
||||
DEF_INT(rpc_memory_limit_percentage, OB_TENANT_PARAMETER, "0", "[0,100]",
|
||||
"maximum memory for rpc in a tenant, as a percentage of total tenant memory, "
|
||||
"and 0 means no limit to rpc memory",
|
||||
ObParameterAttr(Section::RPC, Source::DEFAULT, EditLevel::DYNAMIC_EFFECTIVE));
|
||||
|
@ -176,6 +176,7 @@ rootservice_list
|
||||
rootservice_memory_limit
|
||||
rootservice_ready_check_interval
|
||||
row_compaction_update_limit
|
||||
rpc_memory_limit_percentage
|
||||
rpc_port
|
||||
rpc_timeout
|
||||
schema_history_expire_time
|
||||
@ -210,7 +211,6 @@ tcp_keepidle
|
||||
tcp_keepintvl
|
||||
tde_method
|
||||
tenant_cpu_variation_per_server
|
||||
tenant_rpc_memory_limit_percentage
|
||||
tenant_sql_login_thread_count
|
||||
tenant_sql_net_thread_count
|
||||
tenant_task_queue_size
|
||||
|
Loading…
x
Reference in New Issue
Block a user