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

Fix ref counts for MultiSearchResponse not released in tests #102604

Conversation

original-brownbear
Copy link
Member

Part of the effort to fix search response leaks is to fix these. Fixed all that I could easily find in tests. Production changes incoming once the dependencies for those are fixed.

part of #102030 but no fancy utility here like for search responses since we don't have so many use cases an none of them are tricky.

Part of the effort to fix search response leaks is to fix these.
Fixed all that I could easily find in tests. Production changes incoming
once the dependencies for those are fixed.
@original-brownbear original-brownbear added >non-issue :Search/Search Search-related issues that do not fall into other categories labels Nov 24, 2023
@elasticsearchmachine elasticsearchmachine added Team:Search Meta label for search team v8.12.0 labels Nov 24, 2023
@elasticsearchmachine
Copy link
Collaborator

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

Copy link
Contributor

@DaveCTurner DaveCTurner left a comment

Choose a reason for hiding this comment

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

LGTM

Presumably there's more, I didn't review for that, but all these changes look fine.

@original-brownbear
Copy link
Member Author

Thanks David actually it shouldn't be many more 🤞 but let's see. Also some production stuff left here actually ..., but lets fix the other ref counting issues/PRs first before we can dive into those :)

@original-brownbear original-brownbear added the auto-merge Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) label Nov 24, 2023
@elasticsearchmachine elasticsearchmachine merged commit 2bd0a70 into elastic:main Nov 24, 2023
14 checks passed
@original-brownbear original-brownbear deleted the ref-count-multi-search-response-light branch November 24, 2023 17:52
timgrein pushed a commit to timgrein/elasticsearch that referenced this pull request Nov 30, 2023
…#102604)

Part of the effort to fix search response leaks is to fix these. Fixed
all that I could easily find in tests. Production changes incoming once
the dependencies for those are fixed.

part of elastic#102030 but no fancy utility here like for search responses
since we don't have so many use cases an none of them are tricky.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-merge Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) >non-issue :Search/Search Search-related issues that do not fall into other categories Team:Search Meta label for search team v8.12.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants