Remove the ability to set parallelism to infinity in Airflow V3 #41162
Labels
airflow3.0:breaking
Candidates for Airflow 3.0 that contain breaking changes
airflow3.0:candidate
Potential candidates for Airflow 3.0
kind:feature
Feature Requests
Description
See this issue and this subsequent PR for context. But in short: There was a undocumented/untested/buggy feature to allow setting parallelism to infinity (by setting it to zero) which was dropped during the implementation of Multiple Executor Config. This raised a discussion of if this feature should really be supported. I propose we drop this feature in Airflow 3 because:
scheduler.max_tis_per_query
is a very important config for performance and depends oncore.parallelism
if it is set to 0 (which means to track the value of parallelism) then we may have infinite query sizes which would drastically impact performance. This is an easy trap for users to fall into.Related issues
#41055
#41107
Code of Conduct
The text was updated successfully, but these errors were encountered: