-
Notifications
You must be signed in to change notification settings - Fork 16.4k
Closed
Description
airflow/airflow/jobs/scheduler_job.py
Line 1041 in b1ce429
| if task_instance.pool_slots > open_slots: |
This would trigger error
TypeError: '>' not supported between instances of 'NoneType' and 'int'
as the task_instance is fetched directly (without the patch of refresh_from_db)
airflow/airflow/jobs/scheduler_job.py
Lines 930 to 935 in b1ce429
| task_instances_to_examine: List[TI] = with_row_locks( | |
| query, | |
| of=TI, | |
| session=session, | |
| **skip_locked(session=session), | |
| ).all() |
Related to #8153.
Metadata
Metadata
Assignees
Labels
No labels