Skip to content

Geo - Fix wikis/designs with no repository on the primary trying to sync over and over

Douglas Barbosa Alexandre requested to merge 258658-no-repository-found into master

What does this MR do?

In some cases, the repository does not exist on the primary node, but the only way to know about this is to parse the error text on the Geo secondary node. If it does not exist, we should consider it as successfully downloaded. But a change introduced in GitLab %13.3 to add support for group wikis changed the error message, see !34673 (diffs). So instead of marking the repository as synced, we try o resync it over and over.

Does this MR meet the acceptance criteria?


Availability and Testing


If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Related issue

#258658 (closed)

Edited by Douglas Barbosa Alexandre

Merge request reports