xBis7 commented on code in PR #66785:
URL: https://github.com/apache/airflow/pull/66785#discussion_r3233973949


##########
airflow-core/src/airflow/jobs/scheduler_job_runner.py:
##########
@@ -618,7 +618,6 @@ def _executable_task_instances_to_queued(self, max_tis: 
int, session: Session) -
             # Select only rows where row_number <= max_active_tasks.
             query = (
                 select(TI)
-                .with_hint(TI, "USE INDEX (ti_state)", dialect_name="mysql")

Review Comment:
   @eladkal Thanks for pinging me! I'm going to run some tests.



-- 
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]

Reply via email to