Skip to content

Conversation

@ephraimbuddy
Copy link
Contributor

The fix was to clear the db references of the taskinstances in XCom, RenderedTaskInstanceFields, and TaskFail. That way, we are able to run the mapped tasks

Closes: #27478

…s now a mapped task

The fix was to clear the db references of the taskinstances in XCom, RenderedTaskInstanceFields
and TaskFail. That way, we are able to run the mapped tasks
Copy link
Member

@potiuk potiuk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!. Love the attention to detail and test reproducing the scenario

@potiuk potiuk merged commit a770edf into apache:main Feb 20, 2023
@ephraimbuddy ephraimbuddy deleted the ti_clear_non_mapped_to_mapped branch February 21, 2023 07:00
@pierrejeambrun pierrejeambrun added this to the Airflow 2.5.2 milestone Feb 27, 2023
@pierrejeambrun pierrejeambrun added the type:bug-fix Changelog: Bug Fixes label Feb 27, 2023
pierrejeambrun pushed a commit that referenced this pull request Mar 7, 2023
…s now a mapped task (#29645)

The fix was to clear the db references of the taskinstances in XCom, RenderedTaskInstanceFields
and TaskFail. That way, we are able to run the mapped tasks

(cherry picked from commit a770edf)
pierrejeambrun pushed a commit that referenced this pull request Mar 8, 2023
…s now a mapped task (#29645)

The fix was to clear the db references of the taskinstances in XCom, RenderedTaskInstanceFields
and TaskFail. That way, we are able to run the mapped tasks

(cherry picked from commit a770edf)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type:bug-fix Changelog: Bug Fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Scheduler crash when clear a previous run of a normal task that is now a mapped task

3 participants