Skip to content

Conversation

luigidellaquila
Copy link
Contributor

@luigidellaquila luigidellaquila commented Jan 16, 2025

Change EQL behavior to allow partial search results by default, in case of shard failures.

The old defaults (ie. let the query fail in case of shard failures) can be restored by setting Cluster Setting xpack.eql.default_allow_partial_results=false

Fixes: #120188

Copy link
Contributor

Documentation preview:

@luigidellaquila luigidellaquila added >enhancement >breaking :Analytics/EQL EQL querying auto-backport Automatically create backport pull requests when merged v8.18.0 labels Jan 16, 2025
@luigidellaquila luigidellaquila marked this pull request as ready for review January 16, 2025 15:09
@elasticsearchmachine elasticsearchmachine added the Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) label Jan 16, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-analytical-engine (Team:Analytics)

@elasticsearchmachine
Copy link
Collaborator

Hi @luigidellaquila, I've created a changelog YAML for you. Note that since this PR is labelled >breaking, you need to update the changelog YAML to fill out the extended information sections.

@elasticsearchmachine
Copy link
Collaborator

Hi @luigidellaquila, I've updated the changelog YAML for you. Note that since this PR is labelled >breaking, you need to update the changelog YAML to fill out the extended information sections.

Copy link
Contributor

@astefan astefan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One nit mentioned. Can be merged without any further updates 👍

area: REST API
details:
Before this change, in case of shard failures, EQL queries always returned an error.
With this change,they will keep running and will return partial results.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
With this change,they will keep running and will return partial results.
With this change, they will keep running and will return partial results.
@luigidellaquila luigidellaquila enabled auto-merge (squash) January 27, 2025 09:17
@luigidellaquila luigidellaquila merged commit a0840a0 into elastic:main Jan 27, 2025
16 checks passed
@elasticsearchmachine
Copy link
Collaborator

💚 Backport successful

Status Branch Result
8.x
@leemthompo
Copy link
Contributor

@luigidellaquila is this PR relevant to the serverless changelog? [FYI this question is based on 9.0 breaking changes]

@luigidellaquila
Copy link
Contributor Author

@leemthompo it is a breaking change and it also applies to Serverless, so I guess it's relevant

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Analytics/EQL EQL querying auto-backport Automatically create backport pull requests when merged >breaking Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) v8.18.0 v9.0.0

4 participants