Skip to content

Conversation

@jtibshirani
Copy link
Contributor

Backport of #64382.

In elastic#63520, we started cancelling searches that encounter shard failures and
don't allow partial results. In this case we return an 'all shards failed'
response, since there are no successful responses.

This PR proposes to return a 'partial shards failure' instead. The reasoning:
it's misleading to claim that 'all shards failed' when we only know at least
one shard failed (and preemptively cancelled the rest).
@jtibshirani jtibshirani added >bug :Search/Search Search-related issues that do not fall into other categories backport labels Nov 24, 2020
@elasticmachine elasticmachine added the Team:Search Meta label for search team label Nov 24, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-search (Team:Search)

@jtibshirani jtibshirani merged commit 0cc3973 into elastic:7.x Nov 24, 2020
@jtibshirani jtibshirani deleted the search-failures branch November 24, 2020 21:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport >bug :Search/Search Search-related issues that do not fall into other categories Team:Search Meta label for search team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants