Allow large returns from direct actor calls (#6088)

This commit is contained in:
Eric Liang
2019-11-07 21:28:55 -08:00
committed by GitHub
parent ca53af4d0f
commit 4a28306186
26 changed files with 237 additions and 97 deletions
+2
View File
@@ -463,6 +463,8 @@ class Worker(object):
elif error_type == ErrorType.Value("OBJECT_UNRECONSTRUCTABLE"):
return UnreconstructableError(ray.ObjectID(object_id.binary()))
else:
assert error_type != ErrorType.Value("OBJECT_IN_PLASMA"), \
"Tried to get object that has been promoted to plasma."
assert False, "Unrecognized error type " + str(error_type)
elif data:
# If data is not empty, deserialize the object.