-
Notifications
You must be signed in to change notification settings - Fork 6.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[GCS] Make Gcs-based actor scheduler's bookkeeping consistent #18546
[GCS] Make Gcs-based actor scheduler's bookkeeping consistent #18546
Conversation
@Chong-Li could you add one unit test to make sure lease - release is working correctly? |
Btw, if we don't have resources temporarily, will it be rescheduled later when there is enough resources? |
For the current version, |
LG! Thanks for the fixing! I'm OK with this one. But before merging, could you rebase to trunk? Recently we got some implicit merge conflict which break the trunk and it just got fixed. |
|
Why are these changes needed?
In the current version of gcs-based actor scheduler, there is an inconsistency: the destroyed actor forgets
to return resources back to
gcs_resource_manager
. See #16580 (comment) for details @iycheng . This PR fixes this error.Note, this is just a temporary workaround. When we take the multi-threaded Java workers into account (in the next PR), the whole
GcsActorWorkerAssignment
handling will be changed.Related issue number
#16580
Checks
scripts/format.sh
to lint the changes in this PR.