Skip to content

what happens if a scheduler process about to run a task at specified time dies? #431

Answered by kagkarlsson
dk-github asked this question in Q&A
Discussion options

You must be logged in to vote

RecurringTaskWithPersistentSchedule example suggests that for recurring tasks, schedules are persisted in task_data blob combined with task's custom data (if any)?

Correct

What happens if it dies say 1 second before the next task execution would need to run/be scheduled - is it correct to assume it will get picked up by another instance (in multi-instance configuration)?

Correct, it is not reserved for a specific instance

If yes - what if it gets picked up say 1 second after the scheduled time - can it be configured to let it pass or execute late?

Not quite sure what you mean. The execution will run even if it should have run 1 hour ago. Schedule is only consulted when determining n…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by dk-github
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants