Skip to content

Rake task for checking orphaned object store uploads

Jarka Košanová requested to merge 46535-orphaned-uploads into master

What does this MR do?

It searches through all remote uploads and lists/removes all files that are in the storage but not in uploads table

Are there points in the code the reviewer needs to double check?

Why was this MR needed?

There was an issue (https://gitlab.com/gitlab-org/gitlab-ce/issues/45425) which caused that object store uploads were not deleted when deleting its parent resource. We need to remove the files that were not removed.

Screenshots (if relevant)

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes #46535 (closed)

Edited by Kamil Trzciński

Merge request reports