You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "ashb (via GitHub)" <gi...@apache.org> on 2025/09/18 13:36:58 UTC

Re: [PR] Pessimistic task instance selection by exhaustive linear scan [airflow]

ashb commented on code in PR #55537:
URL: https://github.com/apache/airflow/pull/55537#discussion_r2359354869


##########
airflow-core/src/airflow/jobs/scheduler_job_runner.py:
##########
@@ -219,6 +191,14 @@ def __init__(
 
         self.scheduler_dag_bag = DBDagBag(load_op_links=False)
 
+        task_selector_type = conf.get("scheduler.internal", "task_selector_strategy")
+
+        if self._log:
+            self._log.info("Using %s task selector", task_selector_type)
+
+        self.task_selector = TASK_SELECTORS[task_selector_type]
+        self.task_selector_params_provider = TASK_SELECTOR_PARAMS_PROVIDERS[task_selector_type]
+

Review Comment:
   This approach is not happening. We are not making the core in-tree Scheduler invididually pluggable. 



-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org