Skip to content

Properly release resources of workers exiting due to max_calls#22146

Merged
ericl merged 10 commits intoray-project:masterfrom
ericl:fix-max-calls
Feb 8, 2022
Merged

Properly release resources of workers exiting due to max_calls#22146
ericl merged 10 commits intoray-project:masterfrom
ericl:fix-max-calls

Conversation

@ericl
Copy link
Copy Markdown
Contributor

@ericl ericl commented Feb 6, 2022

Why are these changes needed?

Previously code incorrectly assumed that an exiting worker would disconnect from the raylet promptly to release resources. This isn't the case if the worker is owning references. This PR plumbs through the right release resources call even in this scenario.

Closes #10960

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

@author-action-required The PR author is responsible for the next step. Remove tag to send back to the reviewer.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Core] Resources are not returned when implicitly capturing object reference with max_call arg.

3 participants