Skip to content

Use store in job hash for routing undefined Sidekiq worker class

Sylvester Chin requested to merge sc1-add-store-name-sidekiq-hash into master

What does this MR do and why?

This MR updates the scheduled enq class to use store in job hash for routing undefined Sidekiq worker class.

This handles slow deployments where the Sidekiq process picks up a job which it does not have the worker class defined and sends the job into the retry set.

Addresses gitlab-com/gl-infra/scalability#3497 (comment 2168164268) when sidekiq workers start enqueueing before the new worker is fully rolled out.

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.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

Merge request reports

Loading