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

MSQ: Fix issue where AUTO assignment would not respect maxWorkerCount. #16214

Merged
merged 1 commit into from Mar 28, 2024

Conversation

gianm
Copy link
Contributor

@gianm gianm commented Mar 28, 2024

WorkerAssignmentStrategy.AUTO was missing a check for maxWorkerCount in the case where the inputs to a stage are not dynamically sliceable. A common case here is when the inputs to a stage are other stages.

This could manifest as an error message like OffsetLimitFrameProcessorFactory must be configured with maxWorkerCount = 1 when a LIMIT is used along with WorkerAssignmentStrategy.AUTO.

WorkerAssignmentStrategy.AUTO was missing a check for maxWorkerCount
in the case where the inputs to a stage are not dynamically sliceable.
A common case here is when the inputs to a stage are other stages.
@gianm gianm added the Bug label Mar 28, 2024
@github-actions github-actions bot added Area - Batch Ingestion Area - MSQ For multi stage queries - https://github.com/apache/druid/issues/12262 labels Mar 28, 2024
Copy link
Contributor

@cryptoe cryptoe left a comment

Choose a reason for hiding this comment

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

Changes LGTM!!

@cryptoe cryptoe merged commit 7649957 into apache:master Mar 28, 2024
54 checks passed
@gianm gianm deleted the fix-msq-auto-mwc branch March 28, 2024 14:17
@adarshsanjeev adarshsanjeev added this to the 30.0.0 milestone May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area - Batch Ingestion Area - MSQ For multi stage queries - https://github.com/apache/druid/issues/12262 Bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants