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

fix(job-scheduler): validate if next delayed job exists #3015

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

roggervalf
Copy link
Collaborator

Why

Enter your explanation here.
2. What problem does it solve or improve? Jobs cannot be in more than 1 state, if we do not validate if a job already exists when a delayed job that is created by a job scheduler is promoted, we can have this job id in more than 1 state, i.e active and delayed or completed and delayed

How

Enter the implementation details here.

  1. How did you implement this? Validate job key existence before trying to add this record

Additional Notes (Optional)

Any extra info here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant