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

Rewrite recursion into iteration #26175

Merged
merged 2 commits into from
Sep 6, 2022
Merged

Conversation

ephraimbuddy
Copy link
Contributor

This helps to avoid RecursionError when viewing the graph
view of a dag with many tasks

Much like #25898

This helps to avoid RecursionError when viewing the graph
view of a dag with many tasks
@boring-cyborg boring-cyborg bot added the area:webserver Webserver related Issues label Sep 6, 2022
@ashb ashb changed the title Rewrite recursion into iteraction Rewrite recursion into iteration Sep 6, 2022
@ashb ashb merged commit 8538a72 into apache:main Sep 6, 2022
@ashb ashb deleted the recursion-iteration branch September 6, 2022 15:19
@ashb ashb added this to the Airflow 2.4.0 milestone Sep 6, 2022
ashb pushed a commit to astronomer/airflow that referenced this pull request Sep 7, 2022
In apache#26175, edge detection was changed to use iteration instead of
recursion, however it wasn't keeping track of the parent tasks.
This changes the set we iterate over to be `(task, {children})` pairs instead
of just adding all the children tasks themselves.
ashb pushed a commit that referenced this pull request Sep 7, 2022
In #26175, edge detection was changed to use iteration instead of
recursion, however it wasn't keeping track of the parent tasks.
This changes the set we iterate over to be `(task, {children})` pairs instead
of just adding all the children tasks themselves.
@ephraimbuddy ephraimbuddy added the type:bug-fix Changelog: Bug Fixes label Sep 13, 2022
leahecole pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this pull request Jan 30, 2023
Cherry-picked changes:
Rewrite recursion into iteration
apache/airflow#26175
Rewrite recursion into iteration
apache/airflow#25898

Change-Id: I529f90aae79ad2716b9282e9b70db91a4f64d9f7
GitOrigin-RevId: dae6b05f8266ccff97e1a565e36a5f580db4c79d
leahecole pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this pull request Jan 30, 2023
Cherry-picked changes:
Rewrite recursion into iteration
apache/airflow#26175
Rewrite recursion into iteration
apache/airflow#25898

Change-Id: I3d886329b1d856c4b276d265dd7750dae2b200ba
GitOrigin-RevId: 37b365dc035d3e23961683e322b214fb937fab99
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:webserver Webserver related Issues type:bug-fix Changelog: Bug Fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants