Skip to content

Optimize ts v2 pool#7373

Open
SungJin1212 wants to merge 1 commit intocortexproject:masterfrom
SungJin1212:Optimize-tsv2-pool
Open

Optimize ts v2 pool#7373
SungJin1212 wants to merge 1 commit intocortexproject:masterfrom
SungJin1212:Optimize-tsv2-pool

Conversation

@SungJin1212
Copy link
Member

This PR improves V2 write request memory pooling by preventing string pointer leaks, adding explicit string clearing in ReuseWriteRequestV2 to prevent memory leaks when reusing pooled requests, and removing redundant exemplar label cleanup from ReuseTimeseriesV2.

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]

Signed-off-by: SungJin1212 <tjdwls1201@gmail.com>
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.

1 participant