Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix clear future recursive when ExternalTaskMarker is used #9515

Merged
merged 2 commits into from
Aug 14, 2020

Conversation

yuqian90
Copy link
Contributor

This fixes the bug reported in #9514

What happened:

In example_external_task_marker_dag.py, after the Dags have been run over multiple dates, when the user clears parent_task on the first execution_date with Future, Downstream and Recursive selected, the current behaviour is that Airflow clears the parent dag tasks over all execution_dates, but only clears the first execution_date of the child dag.

What you expected to happen:
Airflow should clear all tasks on the parent DAG and child DAG over all execution_dates.


Make sure to mark the boxes below before creating PR: [x]

  • Description above provides context of the change
  • Unit tests coverage for changes (not needed for documentation changes)
  • Target Github ISSUE in description if exists
  • Commits follow "How to write a good git commit message"
  • Relevant documentation is updated including usage instructions.
  • I will engage committers as explained in Contribution Workflow Example.

In case of fundamental code change, Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in UPDATING.md.
Read the Pull Request Guidelines for more information.

@yuqian90 yuqian90 closed this Jun 26, 2020
@yuqian90 yuqian90 reopened this Jun 26, 2020
@kaxil kaxil added this to the Airflow 1.10.12 milestone Aug 3, 2020
@kaxil kaxil merged commit 4454224 into apache:master Aug 14, 2020
kaxil pushed a commit that referenced this pull request Aug 14, 2020
kaxil pushed a commit that referenced this pull request Aug 15, 2020
kaxil pushed a commit that referenced this pull request Aug 15, 2020
@yuqian90 yuqian90 deleted the fix_clear_future_recursive branch September 16, 2020 02:19
cfei18 pushed a commit to cfei18/incubator-airflow that referenced this pull request Mar 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants