Skip to content

[Geo] Don't mark sync as successful if repo does not exist because of some problems

What does this MR do?

A secondary node marks every sync as successful if the repository does not exist. While it's OK for the majority of the cases it does not take into account some possible problems with NFS servers availability.

To make more precise decisions we could make use of repository checksum. If one exists but the repo doesn't, it's an indicator that something is wrong with the infrastructure.

Does this MR meet the acceptance criteria?

Conformity

Performance and testing

Security

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

Closes #5067 (closed)

Edited by Valery Sizov

Merge request reports