Skip to content

Handle failures with no explicit cause in async search #58319

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 4 commits into from
Jun 18, 2020

Conversation

jimczi
Copy link
Contributor

@jimczi jimczi commented Jun 18, 2020

This commit fixes an AOOBE in the handling of fatal failures in _async_search.
If the underlying cause is not found, this change uses the root failure instead of throwing an uncaught exception.

Closes #58311
Relates #57925

This commit fixes an AOOBE in the handling of fatal
failures in _async_search. If the underlying cause is not found,
this change uses the root failure.

Closes elastic#58311
@jimczi jimczi added >bug :Search/Search Search-related issues that do not fall into other categories v8.0.0 v7.8.1 v7.9.0 labels Jun 18, 2020
@jimczi jimczi requested a review from javanna June 18, 2020 12:24
@elasticmachine
Copy link
Collaborator

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

@elasticmachine elasticmachine added the Team:Search Meta label for search team label Jun 18, 2020
Copy link
Member

@javanna javanna left a comment

Choose a reason for hiding this comment

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

LGTM, I am fine with the integ test, but I was wondering if it was not possible to introduce a unit test for this. IT tests take time and have a lot of moving parts.

@jimczi jimczi merged commit 1e5ba7b into elastic:master Jun 18, 2020
@jimczi jimczi deleted the async_search_failure_no_cause branch June 18, 2020 15:58
jimczi added a commit that referenced this pull request Jun 18, 2020
This commit fixes an AOOBE in the handling of fatal
failures in _async_search. If the underlying cause is not found,
this change uses the root failure.

Closes #58311
jimczi added a commit that referenced this pull request Jun 18, 2020
This commit fixes an AOOBE in the handling of fatal
failures in _async_search. If the underlying cause is not found,
this change uses the root failure.

Closes #58311
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>bug :Search/Search Search-related issues that do not fall into other categories Team:Search Meta label for search team v7.8.1 v7.9.0 v8.0.0-alpha1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unable to get progress in _async_search forever
4 participants