Skip to content

Conversation

@yeya24
Copy link
Contributor

@yeya24 yeya24 commented Dec 9, 2025

What this PR does:

We found a memory leak in the recent Cortex release where query scheduler doesn't properly clean up requests registered in the query fragment registry, causing memory leak.

image

This PR properly cleans up the query fragment registry to prevent the memory leak.

Which issue(s) this PR fixes:
Fixes #

Checklist

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

@dosubot dosubot bot added the type/bug label Dec 9, 2025
@yeya24
Copy link
Contributor Author

yeya24 commented Dec 9, 2025

This fix should be included in another patch release for 1.20

Signed-off-by: yeya24 <[email protected]>
Signed-off-by: yeya24 <[email protected]>
@yeya24 yeya24 merged commit a864fd4 into cortexproject:master Dec 9, 2025
48 of 52 checks passed
@yeya24 yeya24 deleted the fix-scheduler-memory-leak branch December 9, 2025 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants