Remove Rpc Worker Flag In Px

This commit is contained in:
qianchanger
2023-02-06 23:49:45 +08:00
committed by ob-robot
parent 9b302b8660
commit f6a68bca07
7 changed files with 15 additions and 44 deletions

View File

@ -340,9 +340,6 @@ int ObDfoMgr::init(ObExecContext &exec_ctx,
LOG_WARN("fail assign worker to dfos",
K(admited_worker_count), K(expected_worker_count), K(ret));
} else {
if (1 == edges_.count() && OB_NOT_NULL(rpc_dfo = edges_.at(0))) {
rpc_dfo->set_rpc_worker(1 == rpc_dfo->get_dop());
}
inited_ = true;
}
return ret;