Skip to content

[Core] Multi-tenancy: Reject worker registration if job has finished #10569

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

Conversation

kfstorm
Copy link
Member

@kfstorm kfstorm commented Sep 4, 2020

Why are these changes needed?

If a worker process is spawned before the job finishes but is registered after the job finishes, we shouldn't allow it to be registered. Otherwise, it will never be killed.

Related issue number

Checks

  • I've run scripts/format.sh to lint the changes in this PR.
  • I've included any doc changes needed for https://docs.ray.io/en/latest/.
  • I've made sure the tests are passing. Note that there might be a few flaky tests, see the recent failure rates at https://ray-travis-tracker.herokuapp.com/.
  • Testing Strategy
    • Unit tests
    • Release tests
    • This PR is not tested (please justify below)

@kfstorm kfstorm added this to the Multitenancy milestone Sep 4, 2020
@kfstorm kfstorm changed the title [Core] Multi-tenancy: Reject worker registration if job is finished [Core] Multi-tenancy: Reject worker registration if job has finished Sep 4, 2020
@ericl ericl added the @author-action-required The PR author is responsible for the next step. Remove tag to send back to the reviewer. label Sep 9, 2020
@raulchen raulchen merged commit 4c03f7c into ray-project:master Sep 14, 2020
@raulchen raulchen deleted the reject_worker_registration_if_job_is_finished branch September 14, 2020 06:49
@kfstorm kfstorm removed the @author-action-required The PR author is responsible for the next step. Remove tag to send back to the reviewer. label Sep 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants