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: only terminate the stream if range is empty #13281

Merged
merged 3 commits into from
Dec 11, 2024
Merged

Conversation

mattsse
Copy link
Collaborator

@mattsse mattsse commented Dec 10, 2024

closes #13279

@shekhirin this fixes a logic bug that would terminate the entire stream after the first task because we'd end up

here

but the range can still have blocks

perhaps there's a nicer way to solve this

@mattsse mattsse force-pushed the matt/fix-parallelism-one branch from 7610cb4 to cfdb9c9 Compare December 10, 2024 23:37
@mattsse mattsse added C-bug An unexpected or incorrect behavior A-exex Execution Extensions labels Dec 10, 2024
Copy link
Collaborator

@shekhirin shekhirin left a comment

Choose a reason for hiding this comment

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

makes sense to me, minor comments

crates/exex/exex/src/backfill/stream.rs Outdated Show resolved Hide resolved
crates/exex/exex/src/backfill/stream.rs Outdated Show resolved Hide resolved
@mattsse mattsse added this pull request to the merge queue Dec 11, 2024
Merged via the queue into main with commit 1602bae Dec 11, 2024
42 checks passed
@mattsse mattsse deleted the matt/fix-parallelism-one branch December 11, 2024 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-exex Execution Extensions C-bug An unexpected or incorrect behavior
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Backfill stream returns after first iteration when parallelism is set to 1
2 participants