update tenant config parameter name
This commit is contained in:
@ -380,7 +380,7 @@ void ObResourceGroup::check_worker_count()
|
|||||||
{
|
{
|
||||||
ObTenantConfigGuard tenant_config(TENANT_CONF(tenant_->id()));
|
ObTenantConfigGuard tenant_config(TENANT_CONF(tenant_->id()));
|
||||||
enable_dynamic_worker = tenant_config.is_valid() ? tenant_config->_ob_enable_dynamic_worker : true;
|
enable_dynamic_worker = tenant_config.is_valid() ? tenant_config->_ob_enable_dynamic_worker : true;
|
||||||
threshold = tenant_config.is_valid() ? tenant_config->_worker_long_stall_threshold : 3 * 1000;
|
threshold = tenant_config.is_valid() ? tenant_config->_stall_threshold_for_dynamic_worker : 3 * 1000;
|
||||||
}
|
}
|
||||||
DLIST_FOREACH_REMOVESAFE(wnode, workers_) {
|
DLIST_FOREACH_REMOVESAFE(wnode, workers_) {
|
||||||
const auto w = static_cast<ObThWorker*>(wnode->get_data());
|
const auto w = static_cast<ObThWorker*>(wnode->get_data());
|
||||||
@ -1378,7 +1378,7 @@ void ObTenant::check_worker_count()
|
|||||||
{
|
{
|
||||||
ObTenantConfigGuard tenant_config(TENANT_CONF(id_));
|
ObTenantConfigGuard tenant_config(TENANT_CONF(id_));
|
||||||
enable_dynamic_worker = tenant_config.is_valid() ? tenant_config->_ob_enable_dynamic_worker : true;
|
enable_dynamic_worker = tenant_config.is_valid() ? tenant_config->_ob_enable_dynamic_worker : true;
|
||||||
threshold = tenant_config.is_valid() ? tenant_config->_worker_long_stall_threshold : 3 * 1000;
|
threshold = tenant_config.is_valid() ? tenant_config->_stall_threshold_for_dynamic_worker : 3 * 1000;
|
||||||
}
|
}
|
||||||
// assume that high priority and normal priority were busy.
|
// assume that high priority and normal priority were busy.
|
||||||
DLIST_FOREACH_REMOVESAFE(wnode, workers_) {
|
DLIST_FOREACH_REMOVESAFE(wnode, workers_) {
|
||||||
|
@ -1542,6 +1542,6 @@ DEF_BOOL(_enable_system_tenant_memory_limit, OB_CLUSTER_PARAMETER, "True",
|
|||||||
"specifies whether allowed to limit the memory of tenant 500",
|
"specifies whether allowed to limit the memory of tenant 500",
|
||||||
ObParameterAttr(Section::OBSERVER, Source::DEFAULT, EditLevel::DYNAMIC_EFFECTIVE));
|
ObParameterAttr(Section::OBSERVER, Source::DEFAULT, EditLevel::DYNAMIC_EFFECTIVE));
|
||||||
#endif
|
#endif
|
||||||
DEF_TIME(_worker_long_stall_threshold, OB_TENANT_PARAMETER, "3ms", "[0ms,)",
|
DEF_TIME(_stall_threshold_for_dynamic_worker, OB_TENANT_PARAMETER, "3ms", "[0ms,)",
|
||||||
"threshold of dynamic worker works",
|
"threshold of dynamic worker works",
|
||||||
ObParameterAttr(Section::OBSERVER, Source::DEFAULT, EditLevel::DYNAMIC_EFFECTIVE));
|
ObParameterAttr(Section::OBSERVER, Source::DEFAULT, EditLevel::DYNAMIC_EFFECTIVE));
|
||||||
|
@ -348,6 +348,7 @@ _server_standby_fetch_log_bandwidth_limit
|
|||||||
_session_context_size
|
_session_context_size
|
||||||
_sort_area_size
|
_sort_area_size
|
||||||
_sqlexec_disable_hash_based_distagg_tiv
|
_sqlexec_disable_hash_based_distagg_tiv
|
||||||
|
_stall_threshold_for_dynamic_worker
|
||||||
_storage_meta_memory_limit_percentage
|
_storage_meta_memory_limit_percentage
|
||||||
_temporary_file_io_area_size
|
_temporary_file_io_area_size
|
||||||
_trace_control_info
|
_trace_control_info
|
||||||
@ -361,7 +362,6 @@ _tx_result_retention
|
|||||||
_upgrade_stage
|
_upgrade_stage
|
||||||
_wait_interval_after_truncate
|
_wait_interval_after_truncate
|
||||||
_with_subquery
|
_with_subquery
|
||||||
_worker_long_stall_threshold
|
|
||||||
_xa_gc_interval
|
_xa_gc_interval
|
||||||
_xa_gc_timeout
|
_xa_gc_timeout
|
||||||
_xsolapi_generate_with_clause
|
_xsolapi_generate_with_clause
|
||||||
|
Reference in New Issue
Block a user