Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deletion: Order unlocked replicas also by updated_at #6009
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.
- Loading branch information