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

Deletion: Order unlocked replicas also by updated_at #6009 #6010

Conversation

dchristidis
Copy link
Contributor

No description provided.

The main motivation behind this comes from operations. When conducting
deletion campaigns involving many small-sized files (e.g. logs), in case
the rate of deletion is lower than the rate of transfer, operators may
opt to force the deletion of larger replicas in order to alleviate the
situation. However, if both small and large replicas have a Unix Epoch
tombstone, there is no way to influence the order by which they will be
deleted. Modifying the query to order by tombstone, then by updated_at,
removes this limitation.
@bari12 bari12 merged commit 428c067 into rucio:master Dec 14, 2022
@dchristidis dchristidis deleted the patch-6009-Deletion__Order_unlocked_replicas_also_by_updated_at branch December 14, 2022 14:23
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.

list_and_mark_unlocked_replicas() should also order by updated_at
2 participants