Skip to content

[Fusion] Fix source result cleanup when execution is canceled - #10579

Merged
tobias-tengler merged 1 commit into
mainfrom
tte/fusion-canceled-result-cleanup
Oct 17, 2026
Merged

tobias-tengler merged 1 commit into
mainfrom
tte/fusion-canceled-result-cleanup

Conversation

@tobias-tengler

@tobias-tengler tobias-tengler commented Oct 17, 2026 •

Copy link
Copy Markdown
Member

A source client can yield results and then cancel its stream before ownership transfers to the merge stage. The native execution node returns from its cancellation catch without disposing those results or returning its temporary reference buffer.

This PR applies the existing failure cleanup to the cancellation catch: dispose owned results, clear buffered references and return the buffer. Cancellation status and error suppression stay unchanged.

@tobias-tengler
tobias-tengler marked this pull request as ready for review October 17, 2026 13:20
Copilot AI balanced review requested due to automatic review settings October 17, 2026 13:20

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@tobias-tengler
tobias-tengler merged commit 8dbbc24 into main Oct 17, 2026
158 checks passed
@tobias-tengler
tobias-tengler deleted the tte/fusion-canceled-result-cleanup branch October 17, 2026 13:20
@github-actions

Copy link
Copy Markdown
Contributor

Patch coverage

100.0% of changed lines covered (12/12)

File Covered Changed Patch %
…/Fusion.Execution/Execution/Nodes/OperationExecutionNode.cs 12 12 100.0% 🟢

Project coverage: 59.0% (311290/527652 lines)

This was referenced Oct 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants