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

[AIRFLOW-61] Fix corner case with joining processes and queues #1472

Closed
wants to merge 4 commits into from

Conversation

jlowin
Copy link
Member

@jlowin jlowin commented May 6, 2016

Pushed the wrong branch, please disregard! see #1473

jlowin added 4 commits May 6, 2016 08:43
When Scheduler is run with `—num-runs`, there can be multiple
Schedulers and Executors all trying to run tasks. For queued tasks,
Scheduler was previously only trying to run tasks that it itself had
queued — but that doesn’t work if the Scheduler is restarting. This PR
reverts that behavior and adds two types of “best effort” executions —
before running a TI, executors check if it is already running, and
before ending executors call sync() one last time
@jlowin jlowin closed this May 6, 2016
@jlowin jlowin deleted the queue-condition branch May 6, 2016 14:54
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