Skip to content

Geo: Ignore remote stored objects when calculating counts

Toon Claes requested to merge tc-geo-local-only-counts into master

What does this MR do?

If objects (LFS objects or Job Artifacts) were synced (or failed) and they are moved to Object Storage on the primary. The secondary would still treat them as synced. But in fact, it should ignore them.

Why was this MR needed?

It was supposed to be included in gitlab-org/gitlab-ee!4689, but that won't make it into %10.6 😞. So this MR will ensure at least the counts will be correct. The actual cleanup of the objects on disk will be done by that MR.

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes gitlab-org/gitlab-ee#4971

gitlab-org/gitlab-ee#4215

Edited by Toon Claes

Merge request reports

Loading