use jobid_nil (#2044)

This commit is contained in:
Melih Elibol 2018-05-13 14:22:09 -07:00 committed by Philipp Moritz
parent c7f3b8c4d3
commit 3ac0c08daa

View file

@ -58,7 +58,7 @@ ray::Status ObjectDirectory::GetLocations(const ObjectID &object_id,
};
ray::Status ObjectDirectory::ExecuteGetLocations(const ObjectID &object_id) {
JobID job_id = JobID::from_random();
JobID job_id = JobID::nil();
// Note: Lookup must be synchronous for thread-safe access.
// For now, this is only accessed by the main thread.
ray::Status status = gcs_client_->object_table().Lookup(