Skip to content

MSQ: Fix two issues with phase transitions.#17053

Merged
gianm merged 1 commit intoapache:masterfrom
gianm:msq-fix-phase-transitions
Sep 13, 2024
Merged

MSQ: Fix two issues with phase transitions.#17053
gianm merged 1 commit intoapache:masterfrom
gianm:msq-fix-phase-transitions

Conversation

@gianm
Copy link
Copy Markdown
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
@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