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

Issue 37: Kill Prefect/Globus prune tasks when encountering "PERMISSION_DENIED" error. #39

Merged
merged 2 commits into from
Oct 23, 2024

Conversation

davramov
Copy link
Contributor

Added a catch to task_wait() in orchestration/globus/transfer.py that listens for PERMISSION_DENIED errors from Globus, then kills both the Globus prune task and Prefect prune flow. This is to prevent the Globus task queue from overflowing with prune tasks that run indefinitely. Solves #37

…s from Globus, then kills both the Globus prune task and Prefect prune flow.
…r than a GlobusEndpoint. Updated alcf.py flow to handle updates to pruning code. Updated tiff_to_zarr.py to ensure proper file system permissions are set after all files are created, otherwise there is a Globus permissions error that prevents deletion.
Copy link
Contributor

@GBirkel GBirkel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@davramov davramov merged commit 816bd74 into als-computing:main Oct 23, 2024
1 check passed
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.

2 participants