[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:
DK.Pino
2020-10-30 14:48:29 -07:00
committed by GitHub
parent 71c5089854
commit b10871a1f5
5 changed files with 20 additions and 1 deletions
+1
View File
@@ -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));
}