Add entries to in-memory store on Put() (#7085)

This commit is contained in:
Edward Oakes
2020-03-04 10:17:27 -08:00
committed by GitHub
parent aa4861c2a0
commit 0abcca258f
19 changed files with 186 additions and 196 deletions
+2
View File
@@ -152,6 +152,8 @@ cdef extern from "ray/common/id.h" namespace "ray" nogil:
CObjectID WithPlasmaTransportType()
CObjectID WithDirectTransportType()
int64_t ObjectIndex() const
CTaskID TaskId() const
+1 -1
View File
@@ -185,7 +185,7 @@ cdef class ObjectID(BaseID):
@classmethod
def from_random(cls):
return cls(CObjectID.FromRandom().Binary())
return cls(CObjectID.FromRandom().WithDirectTransportType().Binary())
def __await__(self):
# Delayed import because this can only be imported in py3.