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

[8.x] Resume Driver on cancelled or early finished (#120020) #120208

Merged
merged 2 commits into from
Jan 15, 2025

Conversation

dnhatn
Copy link
Member

@dnhatn dnhatn commented Jan 15, 2025

Backports the following commits to 8.x:

Today, when a Driver is put to sleep or scheduled but the thread pool is 
busy with other tasks, canceling the Driver must wait until the Driver
is awakened and scheduled for another loop, or until the thread pool
completes the tasks ahead of it. A similar issue occurs with early
finishes.

This change enables preemptive early finishes or cancellations of the 
Driver without waiting for another run loop.
@dnhatn dnhatn added :Analytics/ES|QL AKA ESQL >enhancement auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) labels Jan 15, 2025
@elasticsearchmachine elasticsearchmachine merged commit 7325c6c into elastic:8.x Jan 15, 2025
15 checks passed
@dnhatn dnhatn deleted the backport/8.x/pr-120020 branch January 15, 2025 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Analytics/ES|QL AKA ESQL auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport >enhancement Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) v8.18.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants