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

Exit Job early when the Pollable Task is already finished #964

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Jul 20, 2023

  1. Exit Job early when the Pollable Task is already finished

    Pollable tasks are marked as finished before the Quartz job actually terminates. There is no global transaction that binds the finishing of the PollableTask with the Quartz job. As such it is possible that a Pollable Task is marked as finished but the Quartz job is not and I’m suspecting that if the scheduler goes down after the pollable task being marked as finished and before the Quartz job is marked as finished then the Quartz job might be retriggered. That would lead to running again a finished PollableTask.
    
    This exit early when the Pollable Task is already finished
    aurambaj committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    601672f View commit details
    Browse the repository at this point in the history