Include failures in partial response#124929
Conversation
b71ca6b to
7536a7f
Compare
7536a7f to
6fd6697
Compare
6fd6697 to
b164f25
Compare
|
Hi @dnhatn, I've created a changelog YAML for you. |
|
Pinging @elastic/es-analytical-engine (Team:Analytics) |
This reverts commit 1e3dba2.
|
Thanks @smalyshev. |
💔 Backport failed
You can use sqren/backport to manually backport by running |
💚 All backports created successfully
Questions ?Please refer to the Backport tool documentation |
This change includes failures when ESQL returns partial results. It also carries failures between cluster requests. Relates elastic#122802
This change includes failures when ESQL returns partial results. It also carries failures between cluster requests. Relates #122802
| final Set<Exception> seen = Collections.newSetFromMap(new IdentityHashMap<>()); | ||
| for (Map.Entry<ShardId, ShardFailure> e : shardFailures.entrySet()) { | ||
| final ShardFailure failure = e.getValue(); | ||
| if (ExceptionsHelper.unwrap(failure.failure(), TaskCancelledException.class) != null) { |
There was a problem hiding this comment.
I wonder if it is worth keeping unwrapped exception in trackShardLevelFailure?
* main: (95 commits) Mute org.elasticsearch.datastreams.lifecycle.DataStreamLifecycleServiceIT testLifecycleAppliedToFailureStore elastic#124999 Merge template mappings properly during validation (elastic#124784) [Build] Rework internal build plugin plugin to work with Isolated Projects (elastic#123461) [Build] Require reason for usesDefaultDistribution (elastic#124707) Mute org.elasticsearch.packaging.test.DockerTests test011SecurityEnabledStatus elastic#124990 Mute org.elasticsearch.xpack.ilm.TimeSeriesDataStreamsIT testRolloverAction elastic#124987 Mute org.elasticsearch.packaging.test.BootstrapCheckTests test10Install elastic#124957 Mute org.elasticsearch.integration.DataStreamLifecycleServiceRuntimeSecurityIT testRolloverLifecycleAndForceMergeAuthorized elastic#124978 Mute org.elasticsearch.xpack.esql.action.CrossClusterAsyncQueryStopIT testStopQuery elastic#124977 Mute org.elasticsearch.xpack.esql.action.CrossClusterAsyncQueryStopIT testStopQueryLocal elastic#121672 Mention zero-window state in networking docs (elastic#124967) Remove remoteAddress field from TransportResponse (elastic#120016) Include failures in partial response (elastic#124929) Prevent work starvation bug if using scaling EsThreadPoolExecutor with core pool size = 0 (elastic#124732) Re-enable analysis stemmer test (elastic#124961) Mute org.elasticsearch.xpack.esql.action.CrossClusterAsyncQueryStopIT testStopQueryLocalNoRemotes elastic#124959 ESQL: Catch parsing exception (elastic#124958) ESQL: Improve error message for ( and [ (elastic#124177) Mute org.elasticsearch.xpack.esql.qa.single_node.EsqlSpecIT test {lookup-join.MvJoinKeyFromRow SYNC} elastic#124951 Mute org.elasticsearch.datastreams.lifecycle.DataStreamLifecycleServiceIT testErrorRecordingOnRetention elastic#124950 ... # Conflicts: # server/src/main/java/org/elasticsearch/index/mapper/vectors/DenseVectorFieldMapper.java # server/src/test/java/org/elasticsearch/index/mapper/vectors/DenseVectorFieldTypeTests.java
|
Why was this backported to 8.x and not 9.0? |
@mark-vieira Two reasons why we didn’t backport this to 9.0: (1) it requires wire-compact, and (2) this enhancement has no impact on 9.0, where we don't support partial results. |
Gotcha, is that common to skip branches like this? I hit this when doing some backports and found it awkward that there was a "gap" here. |
This change includes failures when ESQL returns partial results. It also carries failures between cluster requests. Relates elastic#122802
This change includes failures when ESQL returns partial results. It also carries failures between cluster requests.
Relates #122802