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

Update scheduler docs about low priority tasks #28831

Merged
merged 2 commits into from
Jan 11, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,14 @@ In the UI, it appears as if Airflow is running your tasks a day **late**

You should refer to :doc:`../core-concepts/dag-run` for details on scheduling a DAG.

.. note::
The scheduler is designed for high throughput. This is an informed design decision to achieve scheduling
tasks as soon as possible. The scheduler checks how many free slots available in a pool and schedule at most that number of tasks instances in one iteration.
This means that task priority will only come in to effect when there are more scheduled tasks
waiting than the queue slots. Thus there can be cases where low priority tasks will be schedule before high priority tasks if they share the same batch.
For more read about that you can reference `this GitHub discussion <https://github.com/apache/airflow/discussions/28809>`__.


DAG File Processing
-------------------

Expand Down