mirror of
https://github.com/wassname/ray.git
synced 2026-07-23 13:10:11 +08:00
[Dashboard] Fix missing actor pid (#13229)
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#include "ray/raylet/scheduling/cluster_task_manager.h"
|
||||
|
||||
#include <google/protobuf/map.h>
|
||||
|
||||
#include <boost/range/join.hpp>
|
||||
|
||||
#include "ray/util/logging.h"
|
||||
@@ -647,6 +648,7 @@ void ClusterTaskManager::Dispatch(
|
||||
const auto &task_spec = task.GetTaskSpecification();
|
||||
RAY_LOG(DEBUG) << "Dispatching task " << task_spec.TaskId();
|
||||
// Pass the contact info of the worker to use.
|
||||
reply->set_worker_pid(worker->GetProcess().GetId());
|
||||
reply->mutable_worker_address()->set_ip_address(worker->IpAddress());
|
||||
reply->mutable_worker_address()->set_port(worker->Port());
|
||||
reply->mutable_worker_address()->set_worker_id(worker->WorkerId().Binary());
|
||||
|
||||
Reference in New Issue
Block a user