mirror of
https://github.com/vale981/ray
synced 2025-03-06 10:31:39 -05:00
[core] Remove "plasma promotion" for serialized ObjectRefs
This commit is contained in:
parent
b0a5564f4e
commit
c052395f4e
2 changed files with 1 additions and 1 deletions
|
@ -1726,7 +1726,6 @@ cdef class CoreWorker:
|
|||
CObjectID c_object_id = object_ref.native()
|
||||
CAddress c_owner_address = CAddress()
|
||||
c_string serialized_object_status
|
||||
CCoreWorkerProcess.GetCoreWorker().PromoteObjectToPlasma(c_object_id)
|
||||
CCoreWorkerProcess.GetCoreWorker().GetOwnershipInfo(
|
||||
c_object_id, &c_owner_address, &serialized_object_status)
|
||||
return (object_ref,
|
||||
|
|
|
@ -1025,6 +1025,7 @@ void CoreWorker::PutObjectIntoPlasma(const RayObject &object, const ObjectID &ob
|
|||
}
|
||||
|
||||
void CoreWorker::PromoteObjectToPlasma(const ObjectID &object_id) {
|
||||
// TODO(swang): Remove.
|
||||
auto value = memory_store_->GetOrPromoteToPlasma(object_id);
|
||||
if (value) {
|
||||
PutObjectIntoPlasma(*value, object_id);
|
||||
|
|
Loading…
Add table
Reference in a new issue