mirror of
https://github.com/wassname/ray.git
synced 2026-08-12 12:20:11 +08:00
[Core]Fix get workrer table bug (#11516)
* fix get_worker_table bug * fix lint * fix comment * remove actor table * fix comment * fix get alive worker * remove unused python import
This commit is contained in:
@@ -691,6 +691,7 @@ void CoreWorker::RegisterToGcs() {
|
||||
worker_data->mutable_worker_address()->set_worker_id(worker_id.Binary());
|
||||
worker_data->set_worker_type(options_.worker_type);
|
||||
worker_data->mutable_worker_info()->insert(worker_info.begin(), worker_info.end());
|
||||
worker_data->set_is_alive(true);
|
||||
|
||||
RAY_CHECK_OK(gcs_client_->Workers().AsyncAdd(worker_data, nullptr));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user