[Object spilling] Look up the location of the primary raylet from the owner's metadata (#10197)

* Get the primary copy from the owner, python test, some node manager fixes

* fixes and todo

* update

* lint

* fix build
This commit is contained in:
Stephanie Wang
2020-08-20 14:46:59 -07:00
committed by GitHub
parent 0baf992a4f
commit 85e57a7a98
18 changed files with 262 additions and 101 deletions
+1 -1
View File
@@ -195,7 +195,7 @@ cdef extern from "ray/core_worker/core_worker.h" nogil:
CRayStatus SetResource(const c_string &resource_name,
const double capacity,
const CClientID &client_Id)
CRayStatus ForceSpillObjects(const c_vector[CObjectID] &object_ids)
CRayStatus SpillObjects(const c_vector[CObjectID] &object_ids)
CRayStatus ForceRestoreSpilledObjects(
const c_vector[CObjectID] &object_ids)