milvus-io / milvus

A cloud-native vector database, storage for next generation AI applications
https://milvus.io
Apache License 2.0
30.87k stars 2.94k forks source link

enhance: [10kcp] Refine Replica manager colle2Replicas secondary index #37907

Open congqixia opened 1 day ago

congqixia commented 1 day ago

Related to #37630

This PR add a new util coll2Replicas secondary index to reduce map access & iteration while get replicas by collection

sre-ci-robot commented 1 day ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: congqixia

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[internal/querycoordv2/meta/OWNERS](https://github.com/milvus-io/milvus/blob/10kcp/internal/querycoordv2/meta/OWNERS)~~ [congqixia] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment