Skip to content

[8.19] Cancel async query on expiry (#143016)#144821

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

[8.19] Cancel async query on expiry (#143016)#144821
dnhatn merged 1 commit intoelastic:8.19from
dnhatn:backport/8.19/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 8.19:

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 b9a2200 into elastic:8.19 Mar 24, 2026
29 checks passed
@dnhatn dnhatn deleted the backport/8.19/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