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

[Backport 2.x] [Tiered Caching] Stats rework (1/3): Interfaces and implementations for individual tiers #13247

Merged

Commits on Apr 16, 2024

  1. [Tiered Caching] Stats rework (1/3): Interfaces and implementations f…

    …or individual tiers (opensearch-project#12531)
    
    As part of tiered caching stats, changes the common ICache interface to use ICacheKey as its key. This key contains
    dimensions (for example, shard ID, index name, or tier) that can be used to aggregate stats. Also changes the
    CacheStats interface to store the necessary cache stats, and to support getting stats either as a total or aggregated by
    these dimensions.
    
    Integrates these changes with OpenSearchOnHeapCache and EhcacheDiskCache. The stats implementation for the
    TieredSpilloverCache will be in a followup PR.
    
    ---------
    
    Signed-off-by: Peter Alfonsi <[email protected]>
    Co-authored-by: Peter Alfonsi <[email protected]>
    (cherry picked from commit cc22310)
    peteralfonsi authored and Peter Alfonsi committed Apr 16, 2024
    Configuration menu
    Copy the full SHA
    004c162 View commit details
    Browse the repository at this point in the history

Commits on Apr 17, 2024

  1. Rerunning gradle check

    Signed-off-by: Peter Alfonsi <[email protected]>
    Peter Alfonsi committed Apr 17, 2024
    Configuration menu
    Copy the full SHA
    235c954 View commit details
    Browse the repository at this point in the history