Validate Geo queues exist before queue draining checks

What does this MR do and why?

It's possible to configure GitLab Sidekiq queues and their names. If there are no queues with Geo in the name, then we should error, because the code assumes that it can easily know if Geo or non-Geo jobs are drained, based on whether geo is in the queue name.

MR acceptance checklist

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

How to set up and validate locally

  • Run on primary site rake gitlab:geo:prevent_updates_to_primary_site
  • Run on secondary site rake gitlab:geo:wait_until_replicated_and_verified

Merge request reports

Loading