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

dvc-10427 Always Clean the Workers on Shutdown. #10552

Conversation

nablabits
Copy link

Related to:

In order to effectively remove the obsolete files in FSApp.data_folder_in (source) we need to call clean for each worker. This should be a fairly safe operation as _gc (source) will exclude from cleaning non expired messages.

How to Test this

It's somewhat tricky to set up everything to verify the solution, so I have created a PR here to ease the process:


Thank you for the contribution - we'll try to review it as soon as possible. 🙏

In order to effectively remove the obsolete files in
`FSApp.data_folder_in` we need to call `clean` for each worker. This
should be a fairly safe operation as `_gc` will exclude from cleaning
non expired messages.

Check sibling PR on `dvc-task` for clarifications.
@nablabits nablabits changed the title dvc-10427 Always clean the workers on shutdown. dvc-10427 Always Clean the Workers on Shutdown. Sep 11, 2024
@nablabits
Copy link
Author

After the discussion here, this PR is not anymore needed so I will close it —unless anyone sees value in the tests I wrote—

@nablabits nablabits closed this Sep 25, 2024
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.

1 participant