remove parameters _enable_split_partition
This commit is contained in:
@ -1277,9 +1277,6 @@ DEF_INT(_px_max_pipeline_depth, OB_CLUSTER_PARAMETER, "2", "[2,3]",
|
|||||||
"max parallel execution pipeline depth, "
|
"max parallel execution pipeline depth, "
|
||||||
"range: [2,3]",
|
"range: [2,3]",
|
||||||
ObParameterAttr(Section::TENANT, Source::DEFAULT, EditLevel::DYNAMIC_EFFECTIVE));
|
ObParameterAttr(Section::TENANT, Source::DEFAULT, EditLevel::DYNAMIC_EFFECTIVE));
|
||||||
DEF_BOOL(_enable_split_partition, OB_TENANT_PARAMETER, "False",
|
|
||||||
"specifies whether to use split partition function. The default value is False",
|
|
||||||
ObParameterAttr(Section::TENANT, Source::DEFAULT, EditLevel::DYNAMIC_EFFECTIVE));
|
|
||||||
|
|
||||||
// ssl
|
// ssl
|
||||||
DEF_BOOL(ssl_client_authentication, OB_CLUSTER_PARAMETER, "False",
|
DEF_BOOL(ssl_client_authentication, OB_CLUSTER_PARAMETER, "False",
|
||||||
|
|||||||
@ -6361,14 +6361,6 @@ int ObDDLResolver::get_enable_split_partition(const int64_t tenant_id, bool& ena
|
|||||||
if (OB_INVALID_TENANT_ID == tenant_id) {
|
if (OB_INVALID_TENANT_ID == tenant_id) {
|
||||||
ret = OB_INVALID_ARGUMENT;
|
ret = OB_INVALID_ARGUMENT;
|
||||||
LOG_WARN("tenant id is invalid", K(ret), K(tenant_id));
|
LOG_WARN("tenant id is invalid", K(ret), K(tenant_id));
|
||||||
} else {
|
|
||||||
omt::ObTenantConfigGuard tenant_config(TENANT_CONF(tenant_id));
|
|
||||||
if (!tenant_config.is_valid()) {
|
|
||||||
ret = OB_ERR_UNEXPECTED;
|
|
||||||
LOG_WARN("failed to get tenant config", K(ret), K(tenant_id));
|
|
||||||
} else {
|
|
||||||
enable_split_partition = tenant_config->_enable_split_partition;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user