Skip to content

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

Merged
elasticsearchmachine merged 1 commit intoelastic:8.6from
benwtrent:backport/8.6/pr-91365
Jan 13, 2023
Merged

[8.6] Reduce memory required for search responses when many shards are unavailable (#91365)#92907
elasticsearchmachine merged 1 commit intoelastic:8.6from
benwtrent:backport/8.6/pr-91365

Conversation

@benwtrent
Copy link
Copy Markdown
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