Skip to content
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

[8.6] Reduce memory required for search responses when many shards are unavailable (#91365) #92907

Merged
merged 1 commit into from
Jan 13, 2023

Conversation

benwtrent
Copy link
Member

Backports the following commits to 8.6:

…ailable (elastic#91365)

When there are many shards unavailable, we repeatably store the exact same stack trace and exception. The only difference is the exception message. 

This commit fixes this by slightly modifying the created exception to not provide a stacktrace or print its stacktrace as a "reason" when a shard is unavailable.


closes elastic#90622
@benwtrent benwtrent added :Search/Search Search-related issues that do not fall into other categories >bug auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport Team:Search Meta label for search team labels Jan 13, 2023
@elasticsearchmachine elasticsearchmachine merged commit c60a418 into elastic:8.6 Jan 13, 2023
@benwtrent benwtrent deleted the backport/8.6/pr-91365 branch January 13, 2023 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport >bug :Search/Search Search-related issues that do not fall into other categories Team:Search Meta label for search team v8.6.1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants