mirror of
https://github.com/vale981/ray
synced 2025-03-06 10:31:39 -05:00
[GCS]Fix a bug that creates invalid connection (#11590)
Co-authored-by: 灵洵 <fengbin.ffb@antfin.com>
This commit is contained in:
parent
d9f1874e34
commit
ebe9a8865c
1 changed files with 0 additions and 8 deletions
|
@ -952,14 +952,6 @@ void GcsActorManager::LoadInitialData(const EmptyCallback &done) {
|
|||
PollOwnerForActorOutOfScope(actor);
|
||||
}
|
||||
|
||||
auto &workers = owners_[actor->GetNodeID()];
|
||||
auto it = workers.find(actor->GetWorkerID());
|
||||
if (it == workers.end()) {
|
||||
std::shared_ptr<rpc::CoreWorkerClientInterface> client =
|
||||
worker_client_factory_(actor->GetOwnerAddress());
|
||||
workers.emplace(actor->GetOwnerID(), Owner(std::move(client)));
|
||||
}
|
||||
|
||||
if (!actor->GetWorkerID().IsNil()) {
|
||||
RAY_CHECK(!actor->GetNodeID().IsNil());
|
||||
node_to_workers[actor->GetNodeID()].emplace_back(actor->GetWorkerID());
|
||||
|
|
Loading…
Add table
Reference in a new issue