Skip to content
This repository has been archived by the owner on Nov 16, 2020. It is now read-only.

Periodic garbage collection of stats #25

Closed
dcorbacho opened this issue Feb 16, 2017 · 0 comments
Closed

Periodic garbage collection of stats #25

dcorbacho opened this issue Feb 16, 2017 · 0 comments
Assignees
Milestone

Comments

@dcorbacho
Copy link
Contributor

Although most stats are properly cleaned up after queue/channel/... are deleted, there might be some corner cases missing. It is even possible that a race condition between consuming stats from core tables and deleting objects is happening, as we have seem some very small leaks of channel_created_stats in some deployments.

On top of the current gc strategy, we should implement a periodic gc that verifies that stats belong to a living object on the system. Otherwise, they should be deleted.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants