bootstrap failed while cpu_count=0

This commit is contained in:
hnwyllmm
2022-03-29 16:12:52 +08:00
committed by LINxiansheng
parent e2969ea7a4
commit 3d79cacb37
3 changed files with 0 additions and 7 deletions

View File

@ -327,7 +327,6 @@ int ObServerReloadConfig::operator()()
share::ObTaskController::get().set_log_rate_limit(GCONF.syslog_io_bandwidth_limit.get_value());
if (nullptr != GCTX.omt_) {
GCTX.omt_->set_node_quota(GCONF.cpu_count.get_value());
GCTX.omt_->set_workers_per_cpu(GCONF.workers_per_cpu_quota.get_value());
}

View File

@ -744,11 +744,6 @@ void ObMultiTenant::set_workers_per_cpu(int64_t v)
LOG_INFO("set max workers", K(max_workers_cnt));
}
void ObMultiTenant::set_node_quota(double node_quota)
{
node_quota_ = node_quota;
}
void ObMultiTenant::run1()
{
lib::set_thread_name("MultiTenant");

View File

@ -117,7 +117,6 @@ public:
inline bool has_synced() const;
void set_workers_per_cpu(int64_t v);
void set_node_quota(double node_quota);
protected:
void run1();