Skip to content

Conversation

alexqyle
Copy link
Contributor

What this PR does:

There was memory leak when using StreamPush. Each request would wrap original context and update original context with wrapped version. This would cause memory to hold all those wrapped version and never clean them up. This PR is fixing this issue.

Which issue(s) this PR fixes:
NA

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Jul 1, 2025
@yeya24 yeya24 merged commit cc202c7 into cortexproject:master Jul 1, 2025
17 checks passed
@alexqyle alexqyle deleted the fix-stream-push-memory-leak branch July 2, 2025 17:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/ingester lgtm This PR has been approved by a maintainer size/XS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants