Fix static pc lint
This commit is contained in:
parent
ef6fc721c8
commit
f979e7c6e2
|
@ -37,7 +37,7 @@ bool Initialize() {
|
|||
std::dynamic_pointer_cast<ps::core::AbstractNode>(cluster::ClusterContext::instance()->node());
|
||||
MS_EXCEPTION_IF_NULL(abstract_node);
|
||||
collective::CollectiveManager::instance()->set_global_rank_id(abstract_node->rank_id());
|
||||
collective::CollectiveManager::instance()->set_global_rank_size(IntToUint(abstract_node->worker_num()));
|
||||
collective::CollectiveManager::instance()->set_global_rank_size(abstract_node->worker_num());
|
||||
|
||||
if (!InitializeCollective()) {
|
||||
MS_LOG(ERROR) << "Failed to initialize collective communication.";
|
||||
|
|
|
@ -195,7 +195,7 @@ bool DistributedMetadataStore::ReInitForScaling() {
|
|||
|
||||
MS_LOG(INFO) << "Cluster scaling completed. Reinitialize for distributed metadata store.";
|
||||
local_rank_ = server_node_->rank_id();
|
||||
server_num_ = IntToUint(server_node_->server_num());
|
||||
server_num_ = server_node_->server_num();
|
||||
MS_LOG(INFO) << "After scheduler scaling, this server's rank is " << local_rank_ << ", server number is "
|
||||
<< server_num_;
|
||||
InitHashRing();
|
||||
|
|
Loading…
Reference in New Issue