[Placement Group] Placement group remove api part 1 (#10063)

* Added basic rpc calls.

* fix issues.

* Fix the gcs server not getting request issue.

* In Progress.

* Basic logic done. Tests are required.

* In progress.

* In progress in refactoring context.

* Revert "In progress in refactoring context."

This reverts commit 38236256cf1306c60dd203e75d45ceb4509c8106.

* Working now.

* Python test works.

* Lint.

* Addressed code review.

* Addressed code review.

* Lint.

* Added unit tests.

* Done, but one of unit tests fail

* Addressed code review.

* Addressed the last code review.

* Fix the wrong test case.
This commit is contained in:
SangBin Cho
2020-08-18 12:44:00 -07:00
committed by GitHub
parent d188becec2
commit 263df6163c
24 changed files with 762 additions and 111 deletions
+10
View File
@@ -1083,6 +1083,16 @@ cdef class CoreWorker:
return PlacementGroupID(c_placement_group_id.Binary())
def remove_placement_group(self, PlacementGroupID placement_group_id):
cdef:
CPlacementGroupID c_placement_group_id = \
placement_group_id.native()
with nogil:
check_status(
CCoreWorkerProcess.GetCoreWorker().
RemovePlacementGroup(c_placement_group_id))
def submit_actor_task(self,
Language language,
ActorID actor_id,