Skip to content

[Bug]: CollectionTsCache should not be LRU #3721

Description

@yhmo

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

The CollectionTsCache is a LRU cache capped at DEFAULT_CAPACITY=4096. Once the cap is exceeded. After eviction CollectionTsCache::get returs 0 and construct_guarantee_ts (ts_utils.py) falls back to guarantee_ts = 1, the weakest bound, so a SESSION-consistency read of a collection that was written but then evicted silently degrades to eventually-consistent with no error or signal. This is reachable under many-collection multi-tenant load.

Expected Behavior

No response

Steps/Code To Reproduce behavior

Environment details

- Hardware/Softward conditions (OS, CPU, GPU, Memory):
- Method of installation (Docker, or from source):
- Milvus version (v0.3.1, or v0.4.0):
- Milvus configuration (Settings you made in `server_config.yaml`):

Anything else?

No response

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions