Fix direct_upload for old records
What does this MR do?
Tries to overcome the limitation described in https://gitlab.com/gitlab-org/gitlab-ce/issues/45337 that causes old objects to not be accessible.
It is not an ideal solution but should allow us to think about better one.
Does this MR meet the acceptance criteria?
-
Changelog entry added, if necessary -
Tests added for this feature/bug - Review
-
Has been reviewed by Backend
-
-
Conform by the merge request performance guides -
Conform by the style guides -
Squashed related commits together
What are the relevant issue numbers?
Edited by Grzegorz Bizon