You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/11/21 06:11:42 UTC
[GitHub] [airflow] uranusjr commented on a diff in pull request #27720: Handle DAG disappearing mid-flight when dag verification happens
uranusjr commented on code in PR #27720:
URL: https://github.com/apache/airflow/pull/27720#discussion_r1027611536
##########
airflow/jobs/scheduler_job.py:
##########
@@ -1291,7 +1291,9 @@ def _schedule_dag_run(
self.log.error("Execution date is in future: %s", dag_run.execution_date)
return callback
- self._verify_integrity_if_dag_changed(dag_run=dag_run, session=session)
+ if not self._verify_integrity_if_dag_changed(dag_run=dag_run, session=session):
+ self.log.warning("The DAG disappeared before verifying integrity: %s. Skipping.", dag_run.dag_id)
Review Comment:
Same, this shouldn’t be a warning since the user can’t really do anything about it.
--
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