Skip to content

Geo: Fix inconsistent project registry queries

What does this MR do?

Counts should be internally consistent. Ideally synced + unsynced + failed should always equal all.

This MR improves the situation by defining synced as resync == false. In particular, this fixes wiki counts, which currently have 136k otherwise synced registry entries with last_wiki_successful_sync_at accidentally left nil.

This should drop Out-of-sync wikis from 161k to a more accurate 25k, which we can investigate further.

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

Why was this MR needed?

Screenshots (if relevant)

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes https://gitlab.com/gitlab-org/gitlab-ee/issues/5430

Edited by Michael Kozono

Merge request reports