Skip to content

[9.2] Cancel async query on expiry (#143016)#144820

Merged
dnhatn merged 1 commit intoelastic:9.2from
dnhatn:backport/9.2/pr-143016
Mar 24, 2026
Merged

[9.2] Cancel async query on expiry (#143016)#144820
dnhatn merged 1 commit intoelastic:9.2from
dnhatn:backport/9.2/pr-143016

Conversation

@dnhatn
Copy link
Copy Markdown
Member

@dnhatn dnhatn commented Mar 24, 2026

Backport

This will backport the following commits from main to 9.2:

Questions ?

Please refer to the Backport tool documentation

Today, we don’t cancel async queries when they expire. This means an
async query continues running until it completes, unless the user
explicitly deletes it. With this change, we will schedule a cancellation
when an async query starts and reschedule the cancellation whenever the
keep-alive is updated via get.

Closes elastic#142662

(cherry picked from commit 8feeac8)
@dnhatn dnhatn merged commit 9bb42b8 into elastic:9.2 Mar 24, 2026
36 checks passed
@dnhatn dnhatn deleted the backport/9.2/pr-143016 branch March 24, 2026 02:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants