Skip to content

Geo: prevent Gitlab::Git::Repository::NoRepository from stucking replication

Gabriel Mazetto requested to merge 2635-geo-no-repository-for-such-path into master

What does this MR do?

  • Improves log messages for NoRepository exception
  • Implements cache invalidation when NoRepository exception is detected

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

Why was this MR needed?

After some unknown steps the replication can get stuck if one repository is marked as non-empty but is actually not created.

See #2635 (closed)

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes #2635 (closed)

Edited by Gabriel Mazetto

Merge request reports