Skip to content

Conversation

smalyshev
Copy link
Contributor

Backport

This will backport the following commits from main to 8.x:

Questions ?

Please refer to the Backport tool documentation

Add capability to stop async query on demand
The theory:

- User initiates async search request
- User sends the stop request (POST _query/async/<ID>/stop)
- If the async is finished by that time, it's like regular async get
- If it's not finished, the sinks are closed and the request is forcefully finished

(cherry picked from commit f27f746)

# Conflicts:
#	x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/action/EsqlQueryResponse.java
#	x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/action/EsqlQueryResponseTests.java
#	x-pack/plugin/security/qa/multi-cluster/src/javaRestTest/java/org/elasticsearch/xpack/remotecluster/CrossClusterEsqlRCS1UnavailableRemotesIT.java
#	x-pack/plugin/security/qa/multi-cluster/src/javaRestTest/java/org/elasticsearch/xpack/remotecluster/CrossClusterEsqlRCS2UnavailableRemotesIT.java
Copy link
Contributor

Documentation preview:

@smalyshev smalyshev added auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) :Analytics/ES|QL AKA ESQL >enhancement labels Jan 23, 2025
@smalyshev smalyshev force-pushed the backport/8.x/pr-118122 branch from 2ac591c to 856ff0d Compare January 23, 2025 19:25
@elasticsearchmachine elasticsearchmachine merged commit b53e294 into elastic:8.x Jan 23, 2025
15 checks passed
@smalyshev smalyshev deleted the backport/8.x/pr-118122 branch January 23, 2025 20:48
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 v8.18.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants