seanmuth commented on issue #58554: URL: https://github.com/apache/airflow/issues/58554#issuecomment-5587461909
@zh-jn: > sort_ordinal lives on the LEFT-JOINed backfill_dag_run row and is NULL for every non-backfill dag_run. nulls_first therefore sorts non-backfill runs before backfill runs, exactly the opposite of the field's apparent intent AFAIK sending the backfills to the bottom of the sorted list is intentional, designed so that a large backfill job, say 100 or 365 runs, doesn't starve currently-scheduled runs. The idea being that the backfills are less time sensitive than currently scheduled dags. Agreed that the default of just 20 runs per loop to schedule creates unscheduleable TI's in backfill runs on even moderately "busy" Airflow deployments, and should be looked at to get to a better UX here. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
