mik-laj commented on a change in pull request #6954: [AIRFLOW-4355] removed
task should not lead to dagrun success
URL: https://github.com/apache/airflow/pull/6954#discussion_r363512087
##########
File path: docs/scheduler.rst
##########
@@ -58,3 +58,7 @@ In the UI, it appears as if Airflow is running your tasks a
day **late**
**Let’s Repeat That**, the scheduler runs your job one
``schedule_interval`` AFTER the start date, at the END of the period.
You should refer :doc:`dag-run` for details on scheduling a DAG.
+
+.. note::
+
+ Task instances in REMOVED state are treated like SUCCESS state when
determining overall DAG Run state. To make REMOVED get treated like FAILED,
change removed_tasks_lead_to_dagrun_failure to True in scheduler section of .cfg
Review comment:
```suggestion
Task instances in ``REMOVED`` state are treated like ``SUCCESS`` state
when determining overall DAG Run state. To make ``REMOVED`` get treated like
``FAILED``, change ``removed_tasks_lead_to_dagrun_failure`` to True in
scheduler section of .cfg
```
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services