Skip to content

Avoid calling underlying methods on non-existing repos

Alejandro Rodríguez requested to merge non-existing-repo-optimization into master

What does this MR do?

Avoid calling underlying methods on non-existing repos, hopefully clearing up Gitaly's Sentry from the many GRPC::NotFound occurrences (e.g. https://sentry.gitlap.com/gitlab/gitaly-production/issues/105514/) and unlocking gitaly#220 (closed)

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

Is there any other method apart from #exists? that we might want to skip this optimization for?

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Unlocks gitaly#220 (closed)

Merge request reports