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 query concurrency #861

Merged
merged 3 commits into from
May 10, 2024
Merged

Fix query concurrency #861

merged 3 commits into from
May 10, 2024

Conversation

thorfour
Copy link
Contributor

@thorfour thorfour commented May 10, 2024

The aggregators exepct to have a final aggregation.
In the concurrency = 1 case we weren't correctly aggregating
because no final aggregation was created.

This removes the requirement for concurrency to be > 1 for a syncronizer
and final aggregation to be created.

Ideally in the future we would just schedule a single aggregation that
handles both being a normal and final aggregation but this is a simple
fix for an edge case that isn't important at this point.

Fixes #769

thorfour added 3 commits May 10, 2024 09:08
The aggregators exepct to have a final aggregation.
In the concurrency = 1 case we weren't correctly aggregating
because no final aggregation was created.

This removes the requirement for concurrency to be > 1 for a syncronizer
and final aggregation to be created.

Ideally in the future we would just schedule a single aggregation that
handles both being a normal and final aggregation but this is a simple
fix for an edge case that isn't important at this point.
@thorfour thorfour merged commit 7697384 into main May 10, 2024
7 checks passed
@thorfour thorfour deleted the fix-query-concurrency branch May 10, 2024 14:41
brancz added a commit that referenced this pull request May 30, 2024
brancz added a commit that referenced this pull request May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The problem of combining aggregation function with custom runtime.GOMAXPROCS(1)
1 participant