Revert "Inline small objects in GetObjectStatus response. (#13309)" (#13615)

This reverts commit a82fa80f7b.
This commit is contained in:
Amog Kamsetty
2021-01-21 16:10:34 -08:00
committed by GitHub
parent 87ca102c93
commit 20acc3b05e
8 changed files with 41 additions and 140 deletions
+3 -4
View File
@@ -898,17 +898,16 @@ cdef class CoreWorker:
return RayObjectsToDataMetadataPairs(results)
def object_exists(self, ObjectRef object_ref, memory_store_only=False):
def object_exists(self, ObjectRef object_ref):
cdef:
c_bool has_object
c_bool is_in_plasma
CObjectID c_object_id = object_ref.native()
with nogil:
check_status(CCoreWorkerProcess.GetCoreWorker().Contains(
c_object_id, &has_object, &is_in_plasma))
c_object_id, &has_object))
return has_object and (not memory_store_only or not is_in_plasma)
return has_object
cdef _create_put_buffer(self, shared_ptr[CBuffer] &metadata,
size_t data_size, ObjectRef object_ref,