Handle Geo Secondary and maintenance mode separately

What does this MR do and why?

Handle Geo Secondary and maintenance mode separately. In Geo Secondary mode, we keep sending 403 http code. However in maintenance mode we send now 503 http code. This would allow us to send a better suit http code when the GitLab instance is in maintenance mode without breaking the expected behaviour for Geo Secondary instance

References

Screenshots or screen recordings

Before After

How to set up and validate locally

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

gitlab-runner#29181 (closed) gitlab-runner#29353 #345851 gitlab-runner#29218 (closed)

Merge request reports

Loading