Skip to content

stats: In StatNameSet, differentiate between dynamic and builtin name lookup, which should have a fallback and avoid locks#8243

Merged
jmarantz merged 8 commits intoenvoyproxy:masterfrom
jmarantz:no-dynamic-stat-names
Sep 19, 2019
Merged

stats: In StatNameSet, differentiate between dynamic and builtin name lookup, which should have a fallback and avoid locks#8243
jmarantz merged 8 commits intoenvoyproxy:masterfrom
jmarantz:no-dynamic-stat-names

Conversation

@jmarantz
Copy link
Copy Markdown
Contributor

@jmarantz jmarantz commented Sep 14, 2019

Description: In #7890 it became clear we could enumerate the set of possible Redis commands, and use a fallback symbol to report stats on unexpected redis commands, to avoid taking an unexpected lock. This captures that semantic in StatNameSet. Unfortunately there are still some classes of stat name lookups that appear to be dynamic, so will generally require locks. This PR calls them out explicitly and we can potentially discuss them individually in this PR and decide what we want to do.
Risk Level: low
Testing: //test/...
Docs Changes: n/a
Release Notes: n/a

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants