mirror of
https://github.com/wassname/ray.git
synced 2026-06-28 20:56:34 +08:00
Enable fetching objects from remote object stores. (#87)
* Fetch missing dependencies from local scheduler. * Factor out global scheduler policy state. * Use object_table_subscribe instead of object_table_lookup. * Fix bug in which timer was being created twice for a single fetch request. * Free old manager vector.
This commit is contained in:
committed by
Philipp Moritz
parent
03324caffc
commit
b3c05655a0
@@ -437,6 +437,7 @@ class Worker(object):
|
||||
Args:
|
||||
objectid (object_id.ObjectID): The object ID of the value to retrieve.
|
||||
"""
|
||||
self.plasma_client.fetch2([objectid.id()])
|
||||
buff = self.plasma_client.get(objectid.id())
|
||||
metadata = self.plasma_client.get_metadata(objectid.id())
|
||||
metadata_size = len(metadata)
|
||||
|
||||
Reference in New Issue
Block a user