Skip to content

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

Closed
jlowin wants to merge 4 commits intoapache:masterfrom
jlowin:queue-condition
Closed

[AIRFLOW-61] Fix corner case with joining processes and queues#1472
jlowin wants to merge 4 commits intoapache:masterfrom
jlowin:queue-condition

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