Add the Delete function in GCS (#4081)

* Add the Delete function in GCS

* Unify BatchDelete and Delete

* Fix comment

* Lint

* Refine according to comments

* Unify test.

* Address comment

* C++ lint

* Update ray_redis_module.cc
This commit is contained in:
Yuhong Guo
2019-02-21 13:33:37 +08:00
committed by GitHub
parent 1f864a02bc
commit 3549cd8195
7 changed files with 281 additions and 1 deletions
+2
View File
@@ -82,4 +82,6 @@ cdef extern from "ray/ray_config.h" nogil:
uint32_t num_actor_checkpoints_to_keep() const
uint32_t maximum_gcs_deletion_batch_size() const
void initialize(const unordered_map[c_string, int] &config_map)
+4
View File
@@ -148,3 +148,7 @@ cdef class Config:
@staticmethod
def num_actor_checkpoints_to_keep():
return RayConfig.instance().num_actor_checkpoints_to_keep()
@staticmethod
def maximum_gcs_deletion_batch_size():
return RayConfig.instance().maximum_gcs_deletion_batch_size()