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

Vine: Refactor Task Kill #4019

Merged

Conversation

dthain
Copy link
Member

@dthain dthain commented Jan 13, 2025

Proposed Changes

Task sandboxes were not getting cleaned up under various failure conditions, resulting in a storage leak.
This ensures that "kill" gets sent for every call to reap_task_from_worker.
Also clarified comments to make clear what's going on.

Merge Checklist

The following items must be completed before PRs can be merged.
Check these off to verify you have completed all steps.

  • make test Run local tests prior to pushing.
  • make format Format source code to comply with lint policies. Note that some lint errors can only be resolved manually (e.g., Python)
  • make lint Run lint on source code prior to pushing.
  • Manual Update: Update the manual to reflect user-visible changes.
  • Type Labels: Select a github label for the type: bugfix, enhancement, etc.
  • Product Labels: Select a github label for the product: TaskVine, Makeflow, etc.
  • PR RTM: Mark your PR as ready to merge.

…ess/failure paths for tasks will delete the task sandbox.

Fixes a storage leak that resulted from task sandboxes not always being cleaned up.
@dthain dthain added bug For modifications that fix a flaw in the code. TaskVine labels Jan 13, 2025
@dthain dthain requested review from btovar and JinZhou5042 January 13, 2025 14:55
@btovar
Copy link
Member

btovar commented Jan 13, 2025

ready to merge?

@dthain
Copy link
Member Author

dthain commented Jan 13, 2025

RTM

@btovar btovar merged commit 123c9cb into cooperative-computing-lab:master Jan 13, 2025
10 checks passed
btovar pushed a commit that referenced this pull request Jan 13, 2025
…ess/failure paths for tasks will delete the task sandbox. (#4019)

Fixes a storage leak that resulted from task sandboxes not always being cleaned up.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug For modifications that fix a flaw in the code. TaskVine
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants