-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Implement runtime skip_unavailable=true #121240
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
Merged
Merged
Changes from 15 commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
a8662d8
Implement runtime skip_unavailable=true
smalyshev 49ed90e
Better exception check
smalyshev 0848dd1
Refine monitored exceptions
smalyshev 1629251
[CI] Auto commit changes from spotless
dcd0d78
Update docs/changelog/121240.yaml
smalyshev d3c8ef5
Add tests
smalyshev 5833317
Make partial to be set when there's skipped or partial
smalyshev a33df84
Merge branch 'main' into skip-un-execution
smalyshev 31e0eb4
Add skip_unavailable=false test
smalyshev d3b27a1
Pull feedback
smalyshev 99cc226
Make cancel to fail and other feedback
smalyshev 1f397e0
Merge branch 'main' into skip-un-execution
smalyshev 027b156
[CI] Auto commit changes from spotless
8ef56eb
Refactor the listener code
smalyshev fc98a0e
Merge branch 'main' into skip-un-execution
smalyshev 23bdac0
Fix task for child request
smalyshev 3eb5b68
Add more tests
smalyshev ff431f9
Bump timeout to give slow clusters more time
smalyshev c458f9e
Merge branch 'main' into skip-un-execution
smalyshev c9be7dc
Test fixes
smalyshev 39216e2
Fix test
smalyshev File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| pr: 121240 | ||
| summary: Implement runtime skip_unavailable=true | ||
| area: ES|QL | ||
| type: enhancement | ||
| issues: [] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 30 additions & 0 deletions
30
...c/javaRestTest/java/org/elasticsearch/xpack/esql/ccq/EsqlRestValidationSkipUnFalseIT.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| /* | ||
| * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one | ||
| * or more contributor license agreements. Licensed under the Elastic License | ||
| * 2.0; you may not use this file except in compliance with the Elastic License | ||
| * 2.0. | ||
| */ | ||
|
|
||
| package org.elasticsearch.xpack.esql.ccq; | ||
|
|
||
| import com.carrotsearch.randomizedtesting.annotations.ThreadLeakFilters; | ||
|
|
||
| import org.elasticsearch.test.TestClustersThreadFilter; | ||
| import org.elasticsearch.test.cluster.ElasticsearchCluster; | ||
| import org.junit.ClassRule; | ||
| import org.junit.rules.RuleChain; | ||
| import org.junit.rules.TestRule; | ||
|
|
||
| // Duplicate of EsqlRestValidationIT test where skip_unavailable is set to false | ||
| @ThreadLeakFilters(filters = TestClustersThreadFilter.class) | ||
| public class EsqlRestValidationSkipUnFalseIT extends EsqlRestValidationIT { | ||
| static ElasticsearchCluster localCluster = Clusters.localCluster(remoteCluster, false); | ||
|
|
||
| @ClassRule | ||
| public static TestRule clusterRule = RuleChain.outerRule(remoteCluster).around(localCluster); | ||
|
|
||
| @Override | ||
| protected String getTestRestCluster() { | ||
| return localCluster.getHttpAddresses(); | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.