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 two issues with phase transitions. #17053

Merged
merged 1 commit into from
Sep 13, 2024

Conversation

gianm
Copy link
Contributor

@gianm gianm commented Sep 12, 2024

  1. ControllerQueryKernel: Update readyToReadResults to acknowledge that sorting stages can
    go directly from READING_INPUT to RESULTS_READY.

  2. WorkerStageKernel: Ignore RESULTS_COMPLETE if work is already finished, which can happen
    if the transition to FINISHED comes early due to a downstream LIMIT.

1) ControllerQueryKernel: Update readyToReadResults to acknowledge that sorting stages can
   go directly from READING_INPUT to RESULTS_READY.

2) WorkerStageKernel: Ignore RESULTS_COMPLETE if work is already finished, which can happen
   if the transition to FINISHED comes early due to a downstream LIMIT.
@gianm gianm added the Bug label Sep 12, 2024
@github-actions github-actions bot added Area - Batch Ingestion Area - MSQ For multi stage queries - https://github.com/apache/druid/issues/12262 labels Sep 12, 2024
@gianm gianm merged commit 654e0b4 into apache:master Sep 13, 2024
56 checks passed
@gianm gianm deleted the msq-fix-phase-transitions branch September 13, 2024 22:59
pranavbhole pushed a commit to pranavbhole/druid that referenced this pull request Sep 17, 2024
1) ControllerQueryKernel: Update readyToReadResults to acknowledge that sorting stages can
   go directly from READING_INPUT to RESULTS_READY.

2) WorkerStageKernel: Ignore RESULTS_COMPLETE if work is already finished, which can happen
   if the transition to FINISHED comes early due to a downstream LIMIT.
@cryptoe cryptoe added this to the 31.0.0 milestone Oct 9, 2024
cryptoe pushed a commit to cryptoe/druid that referenced this pull request Oct 9, 2024
1) ControllerQueryKernel: Update readyToReadResults to acknowledge that sorting stages can
   go directly from READING_INPUT to RESULTS_READY.

2) WorkerStageKernel: Ignore RESULTS_COMPLETE if work is already finished, which can happen
   if the transition to FINISHED comes early due to a downstream LIMIT.

(cherry picked from commit 654e0b4)
cryptoe pushed a commit to cryptoe/druid that referenced this pull request Oct 9, 2024
1) ControllerQueryKernel: Update readyToReadResults to acknowledge that sorting stages can
   go directly from READING_INPUT to RESULTS_READY.

2) WorkerStageKernel: Ignore RESULTS_COMPLETE if work is already finished, which can happen
   if the transition to FINISHED comes early due to a downstream LIMIT.

(cherry picked from commit 654e0b4)
abhishekagarwal87 pushed a commit that referenced this pull request Oct 9, 2024
1) ControllerQueryKernel: Update readyToReadResults to acknowledge that sorting stages can
   go directly from READING_INPUT to RESULTS_READY.

2) WorkerStageKernel: Ignore RESULTS_COMPLETE if work is already finished, which can happen
   if the transition to FINISHED comes early due to a downstream LIMIT.

(cherry picked from commit 654e0b4)
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.

3 participants