f603b36aa4
It was possible to "block" the scheduler such that it would not schedule or queue tasks for a dag if you triggered a DAG run when the DAG was already at the max active runs. This approach works around the problem for now, but a better longer term fix for this would be to introduce a "queued" state for DagRuns, and then when manually creating dag runs (or clearing) set it to queued, and only have the scheduler set DagRuns to running, nothing else -- this would mean we wouldn't need to examine active runs in the TI part of the scheduler loop, only in DagRun creation part. Fixes #11582 |
||
---|---|---|
.. | ||
__init__.py | ||
test_backfill_job.py | ||
test_base_job.py | ||
test_local_task_job.py | ||
test_scheduler_job.py |