Skip to content

stats: (NON-SCOPE-BASED APPROACH)prevent unused counters from leaking across hot restart#6783

Closed
fredlas wants to merge 4 commits intoenvoyproxy:masterfrom
fredlas:LEA_stat_leak
Closed

stats: (NON-SCOPE-BASED APPROACH)prevent unused counters from leaking across hot restart#6783
fredlas wants to merge 4 commits intoenvoyproxy:masterfrom
fredlas:LEA_stat_leak

Conversation

@fredlas
Copy link
Copy Markdown
Contributor

@fredlas fredlas commented May 2, 2019

Hold imported-from-hot-restart deltas of counters that do not yet exist in the child, until the counter is created by the child. If hot restart completes without the counter being created, the delta is forgotten about.

Risk Level: low
Testing: updated unit test

Fixes #6756.

fredlas added 4 commits May 2, 2019 11:16
Signed-off-by: Fred Douglas <fredlas@google.com>
Signed-off-by: Fred Douglas <fredlas@google.com>
Signed-off-by: Fred Douglas <fredlas@google.com>
Signed-off-by: Fred Douglas <fredlas@google.com>
@fredlas fredlas changed the title stats: prevent unused counters from leaking across hot restart stats: (NON-SCOPE-BASED APPROACH)prevent unused counters from leaking across hot restart May 7, 2019
@fredlas fredlas closed this May 8, 2019
@fredlas
Copy link
Copy Markdown
Contributor Author

fredlas commented May 8, 2019

See #6850

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

stats: don't leak obsolete stats across hot restart

3 participants