You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Undertaker is a daemon that deals with expired DIDs. The handling of expired datasets is reasonably covered by tests in test_undertaker.py while tests for file DIDs are in progress (see #6054 ). The question remains how the Undertaker shall handle expired collections. This has not been relevant so far because ATLAS does not permit the deletion of collections (only of datasets and files).
I can suggest two ways of handling expired containers but would welcome further suggestions:
Behaviour similar to rmdir, meaning that the collection may only be erased if it is completely empty. Might also include a sort of --force option, which would then lead to behaviour described in (2)
Recursively detach all collections and files contained in the expired container and tombstone all of their replicas (in the same way file replicas are deleted when their dataset expires). This also means that exceptions need to be made for collections and files protected by any other rules.
Upon reaching a decision, it will be necessary to cast the expected behaviour into test cases and then edit the codebase in order to pass the tests.
The text was updated successfully, but these errors were encountered:
The Undertaker is a daemon that deals with expired DIDs. The handling of expired datasets is reasonably covered by tests in
test_undertaker.py
while tests for file DIDs are in progress (see #6054 ). The question remains how the Undertaker shall handle expired collections. This has not been relevant so far because ATLAS does not permit the deletion of collections (only of datasets and files).I can suggest two ways of handling expired containers but would welcome further suggestions:
rmdir
, meaning that the collection may only be erased if it is completely empty. Might also include a sort of--force
option, which would then lead to behaviour described in (2)Upon reaching a decision, it will be necessary to cast the expected behaviour into test cases and then edit the codebase in order to pass the tests.
The text was updated successfully, but these errors were encountered: