Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tracing: cap registry size at 5k #61459

Merged
merged 1 commit into from
Mar 4, 2021
Merged

Commits on Mar 4, 2021

  1. tracing: cap registry size at 5k

    This caps the size of the span registry at 5k, evicting "random" (map
    order) existing entries when at the limit.
    The purpose of this is to serve as a guardrail against leaked spans,
    which would otherwise lead to unbounded memory growth.
    
    Touches cockroachdb#59188.
    
    Release justification: low risk, high benefit changes to existing
    functionality
    Release note: None
    tbg committed Mar 4, 2021
    Configuration menu
    Copy the full SHA
    ed03ac1 View commit details
    Browse the repository at this point in the history