Skip to content

[Bug]: Frequent Describe Collection calls in some APIs overwhlming the server #2841

@XuanYang-cn

Description

@XuanYang-cn

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

Some APIs in the server calls describe collection for different reasons, we need to find a way to get rid of them if possible.

Describe to retrieve CollectionID

  1. compact
  2. describe_replica

Must call

  1. has_collection

To get PK field's name

  1. search_iterator
  2. query_iterator
  3. get

Already Cached

  1. insert
  2. upsert

Expected Behavior

Remove some of the describe collection calls

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

Sub-issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions