Skip to content

Conversation

prwhelan
Copy link
Member

Backports the following commits to 9.1:

There is the potential for a memory leak, depending on which thread
handles the onComplete message. Currently, the child span does not add
anything to debugging, so we will disable it until we can figure out
a clean way to propagate the child span's context throughout the stream.

In any case, it would be better to replace it entirely with a child span
capturing the outbound service call and response for both streaming and
non-streaming requests, so this may remain disabled in the long run
anyway in favor of that child span.
@prwhelan prwhelan added :ml Machine learning >bug auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport Team:ML Meta label for the ML team labels Aug 18, 2025
@elasticsearchmachine elasticsearchmachine merged commit 2de3769 into elastic:9.1 Aug 18, 2025
34 checks passed
@prwhelan prwhelan deleted the backport/9.1/pr-132945 branch August 18, 2025 14:40
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 :ml Machine learning Team:ML Meta label for the ML team v9.1.3

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants