Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for an efficient "retry all" failed jobs #1001

Closed
manast opened this issue Jan 19, 2022 · 0 comments · Fixed by #1024
Closed

Support for an efficient "retry all" failed jobs #1001

manast opened this issue Jan 19, 2022 · 0 comments · Fixed by #1024
Labels
enhancement New feature or request

Comments

@manast
Copy link
Contributor

manast commented Jan 19, 2022

Introduction

In many situations, for example, let's say that due to a bug in your worker you end with thousands of failed jobs, the bug has been fixed and now you want to retry all these jobs as fast as possible, it is important then to be able to just retry all the jobs that have failed in an efficient way.

Requirements

  • An atomic method to move all the failed jobs from the failed set to the wait list.
  • Preserve the order so that the jobs end in the wait list in the same order as they were failed.
  • The retried jobs must be processed before any existing jobs are already in the wait list.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant