Since Sidekiq's dead job queue has a capacity of 10,000. I sometimes run Batch Job that runs Jobs for a million records at a time and the failures pop up anywhere from 10k to 20k.
Since not all of the jobs are seen in the dead job queue
, I cannot retry all of them and have to run the maintenance task all over again.
Is there a way to re-run all of the failures either with the Sidekiq UI or with Rails console?
It sounds like you are disabling normal retries. Use the normal retry flow, this will work without issue.