Open
Conversation
Pull Request Test Coverage Report for Build 11462583155Details
💛 - Coveralls |
Contributor
Author
|
Time to merge this PR. Main changes:
|
Member
|
Ciao Maricke! Thank you for working on this!! Looks all very good! |
Member
|
I tried to implement it quicly here but just to get an idea of how it would look, did not do it properly https://github.com/XAMS-nikhef/amstrax/tree/delete_stbc_from_xams |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Main things:
delete_live_stbc.py(running in a screen on stbc) that checks the available diskspace on in the stoomboot/data/xenon/xams_v2/live_datafolder and if it is less thanargs.min_free_diskspace(default 500G), it removes the oldest run, if and only if there is a copy of the live data on/dcache/archives/xenon/xams/xams_v2/live_data. Update the runsdb accordinglydelete_live.py(running locally on the DAQ PC) that checks if a run is tagged asdelete_daqand if so, it checks if a live data copy is stored on both (!)/dcacheand/dataand if so, it removes the live data on the XAMS PC. This is to force certain runs to be removed first, when struggling with diskspace locally.delete_liveor when the deletion of a live data folder didn't go according to plan for whatever reason (fordelete_live_stbc) so it doesn't keep trying over and over again.