uranusjr commented on code in PR #71072:
URL: https://github.com/apache/airflow/pull/71072#discussion_r3793724947
##########
airflow-core/src/airflow/jobs/scheduler_job_runner.py:
##########
@@ -357,6 +358,10 @@ def __init__(
self._multi_team = conf.getboolean("core", "multi_team")
self._dag_tags_in_metrics = conf.getboolean("metrics",
"dag_tags_in_metrics", fallback=False)
self._max_partition_dag_runs_per_loop = MAX_PARTITION_DAG_RUNS_PER_LOOP
+ # Edge-triggers the "partition Dag run cap reached" audit Log row:
True once that row
+ # has been committed for the current backlog episode, reset to False
once the backlog
+ # drains below the cap.
+ self._partition_cap_backlog_reported = False
Review Comment:
Does HA scheduler affect this? Does the “reported” state need to be
propagated to other schedulers?
--
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]