mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-07 17:48:29 +08:00
[skip ci] Add comment for newCollectionReplica (#10573)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
This commit is contained in:
parent
41493a4852
commit
75f1c2f230
@ -579,6 +579,7 @@ func (colReplica *collectionReplica) freeAll() {
|
||||
colReplica.segments = make(map[UniqueID]*Segment)
|
||||
}
|
||||
|
||||
// newCollectionReplica returns a new ReplicaInterface
|
||||
func newCollectionReplica(etcdKv *etcdkv.EtcdKV) ReplicaInterface {
|
||||
collections := make(map[UniqueID]*Collection)
|
||||
partitions := make(map[UniqueID]*Partition)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user