Uploads in object storage are not cleaned up when the file is removed from GitLab
The following discussion from !3867 (merged) should be addressed:
-
@nick.thomas started a discussion: @mbergeron it looks like when an upload is removed, the file remains in object storage.
Since we lose the row in
uploads, our only option to fix this after the fact would be to remove everything in the bucket that isn't in the relevant table - which is costly and error-prone.
Edited by Coung Ngo