-
Notifications
You must be signed in to change notification settings - Fork 25.3k
StressSearchServiceReaperIT_unmute_test #122793
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
StressSearchServiceReaperIT_unmute_test #122793
Conversation
Pinging @elastic/es-search-foundations (Team:Search Foundations) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See my inline comment, the problem is elsewhere, test code looks good to me.
try { | ||
SearchRequestBuilder searchRequestBuilder = prepareSearch("test").setQuery(matchAllQuery()).setSize(num); | ||
response = searchRequestBuilder.get(); | ||
assertHitCountAndNoFailures(searchRequestBuilder, num); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No sorry this can't be it. The builder is resolved and the response released right away by assertHitCountAndNoFailures
. If we're leaking it's not because we're leaking the actual search response, we're leaking some intermediary objects and likely never get to the search response here.
See this line in the failure:
org.elasticsearch.action.search.ArraySearchPhaseResults.<init>(ArraySearchPhaseResults.java:28)
we're leaking the intermediary per-shard response array, we're not leaking a fully built response.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, @original-brownbear, for the feedback. After a private discussion, we decided it was safe to unmute the test.
💔 Backport failed
You can use sqren/backport to manually backport by running |
Backports the following commits to 9.0: - StressSearchServiceReaperIT_unmute_test (#122793)
Backports the following commits to 8.18: - StressSearchServiceReaperIT_unmute_test (#122793)
Backports the following commits to 8.17: - StressSearchServiceReaperIT_unmute_test (#122793)
Fix for the error described below in StressSearchServiceReaperIT
closes #115816