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:
Robert Nishihara
2016-12-06 15:47:31 -08:00
committed by Philipp Moritz
parent 03324caffc
commit b3c05655a0
8 changed files with 173 additions and 35 deletions
+1
View File
@@ -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)