Skip to content

Core: Stop remote planning workers when ScanTaskIterable closes - #17803

Open
yangshangqing95 wants to merge 1 commit into
apache:mainfrom
yangshangqing95:fix/close-ScanTaskIterable
Open

Core: Stop remote planning workers when ScanTaskIterable closes#17803
yangshangqing95 wants to merge 1 commit into
apache:mainfrom
yangshangqing95:fix/close-ScanTaskIterable

Conversation

@yangshangqing95

Copy link
Copy Markdown
Contributor

Summary

Stop local remote-planning workers when ScanTaskIterable is closed by setting the shutdown flag and clearing pending tasks. ScanTasksIterator delegates to the same close path.

Tests

Added a regression test that closes the iterable during an in-flight fetch and verifies workers exit without fetching additional plan tasks.

@github-actions github-actions Bot added the core label Aug 24, 2026

@singhpk234 singhpk234 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.

seems like there is already a pr for this : #16768

may be please coordinate with the author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants