Skip to content

Rescue Sidekiq::Shutdown exception

Max Orefice requested to merge morefice/rescue-sidekiq-shutdown-exception into master

Ref: #366720

What does this MR do and why?

This MR rescues Sidekiq::Shutdown exception from BatchedMigrationJobs.

The idea is to retry those jobs as they are most likely not killed because of database performance issue.

This will avoid to requeue batched migrations which failed such as !168493 (merged).

Edited by Max Orefice

Merge request reports

Loading