Skip to content

Parquet Querier: Add TTL to Parquet Queryable Shard Cache #6991

@yeya24

Description

@yeya24

Is your feature request related to a problem? Please describe.
Today, Parquet queryable shard cache caches Parquet file shard inmemory. It is a simple LRU cache where eviction is based on a configured cache size on number of cached items only.

As an inmemory cache, it doesn't support TTL so cached parquet shard is never cleaned up and stays in memory forever if never getting evicted.

Describe the solution you'd like
Add TTL for each parquet cache shard and record last access time. Remove the cached shard if idle more than TTL time.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions