Skip to content

Conversation

@hezhangjian
Copy link
Member

Motivation

#14723 introduces schemaId label metrics.
Prometheus summary maintains a map to record label and value, summary will not auto-release the label. Which will leads to memory leak.

We missed to unRecord label when schemaId were deleted.

Modifications

unRecord schema when schemaId deleted

@hezhangjian hezhangjian added the doc-not-needed Your PR changes do not impact docs label May 26, 2022
@hezhangjian hezhangjian self-assigned this May 26, 2022
@hezhangjian hezhangjian force-pushed the prometheus-summary-memory-leak branch from 8bd6875 to 07eae62 Compare June 3, 2022 00:53
@hezhangjian
Copy link
Member Author

/pulsarbot run-failure-checks

@hezhangjian
Copy link
Member Author

@merlimat @codelipenghui PTAL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc-not-needed Your PR changes do not impact docs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants