Skip to content
Snippets Groups Projects

Allow selecting all queues with sidekiq-cluster

Merged Sean McGivern requested to merge allow-selecting-all-queues-with-sidekiq-cluster into master

What does this MR do?

Because it was designed for selecting specific queues, sidekiq-cluster didn't have a convenient method to select all queues. As we want this to become the default sidekiq entry point for all GitLab installations, and the default is to handle all queues in a single process, we need that option.

(This was possible before: using --experimental-queue-selector, you could ask for something like has_external_dependencies=true,false, but that's not obvious.)

Instead of making * a wildcard anywhere, which would be more general, this commit just allows a single * in a queue group to represent all queues. While this is less general, it's also simpler to implement, and we can assume that YAGNI for the wildcards.

For gitlab-com/gl-infra/scalability#169.

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Sean McGivern
  • Reviewer roulette

    Changes that require review have been detected! A merge request is normally reviewed by both a reviewer and a maintainer in its primary category (e.g. frontend or backend), and by a maintainer in all other categories.

    To spread load more evenly across eligible reviewers, Danger has randomly picked a candidate for each review slot. Feel free to override this selection if you think someone else would be better-suited, or the chosen person is unavailable.

    To read more on how to use the reviewer roulette, please take a look at the Engineering workflow and code review guidelines.

    Once you've decided who will review this merge request, mention them as you normally would! Danger does not (yet?) automatically notify them for you.

    Category Reviewer Maintainer
    backend Matthias Käppler (@mkaeppler) Heinrich Lee Yu (@engwan)

    Generated by :no_entry_sign: Danger

    Edited by 🤖 GitLab Bot 🤖
  • Sean McGivern assigned to @eread and @mkaeppler and unassigned @smcgivern

    assigned to @eread and @mkaeppler and unassigned @smcgivern

  • Evan Read approved this merge request

    approved this merge request

  • unassigned @eread

  • Evan Read
  • Evan Read
  • Evan Read unapproved this merge request

    unapproved this merge request

  • assigned to @smcgivern

  • Matthias Käppler approved this merge request

    approved this merge request

  • Sean McGivern added 1 commit

    added 1 commit

    • a1cb85f1 - Apply suggestion to doc/administration/operations/extra_sidekiq_processes.md

    Compare with previous version

  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading