Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions airflow-core/src/airflow/jobs/scheduler_job_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -1831,6 +1831,10 @@ def _create_dag_runs(self, dag_models: Collection[DagModel], session: Session) -
# and continue to the next serdag.
except Exception:
self.log.exception("Failed creating DagRun for %s", serdag.dag_id)
# todo: continuing here does not work because session needs rollback
# but you need either to make smaller transactions and commit after every dag run
# or to use savepoints.
# https://github.com/apache/airflow/issues/59120
continue
if self._should_update_dag_next_dagruns(
serdag,
Expand Down