Skip to content
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

[TaskPool] Cancel all transformation tasks when one task fails or when SIGINT is received #18991

Conversation

clarkzinzow
Copy link
Contributor

@clarkzinzow clarkzinzow commented Sep 30, 2021

When a transformation task fails or when KeyboardInterrupt is raised (i.e. SIGINT is received), we cancel all other transformation tasks and reraise the exception. Note that this only changes the behavior of the task compute model; the actor compute model is unchanged.

TODOs

  • (Optional, could wait for future PR) Apply the same change to the actor model.

Related issue number

Closes #18171

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/master/.
  • I've made sure the tests are passing. Note that there might be a few flaky tests, see the recent failures at https://flakey-tests.ray.io/
  • Testing Strategy
    • Unit tests
    • Release tests
    • This PR is not tested :(

@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 30, 2021
@clarkzinzow clarkzinzow force-pushed the datasets/fix/transformation-error-behavior branch from 883e0ec to 2b6c765 Compare September 30, 2021 14:16
@clarkzinzow clarkzinzow added tests-ok The tagger certifies test failures are unrelated and assumes personal liability. and removed @author-action-required The PR author is responsible for the next step. Remove tag to send back to the reviewer. labels Sep 30, 2021
@ericl ericl merged commit e384a6c into ray-project:master Sep 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tests-ok The tagger certifies test failures are unrelated and assumes personal liability.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Datasets] Error message polish
3 participants