mirror of https://github.com/milvus-io/milvus.git
[skip ci] Add comment for newCollectionReplica (#10573)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>pull/10601/head
parent
41493a4852
commit
75f1c2f230
|
@ -579,6 +579,7 @@ func (colReplica *collectionReplica) freeAll() {
|
||||||
colReplica.segments = make(map[UniqueID]*Segment)
|
colReplica.segments = make(map[UniqueID]*Segment)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// newCollectionReplica returns a new ReplicaInterface
|
||||||
func newCollectionReplica(etcdKv *etcdkv.EtcdKV) ReplicaInterface {
|
func newCollectionReplica(etcdKv *etcdkv.EtcdKV) ReplicaInterface {
|
||||||
collections := make(map[UniqueID]*Collection)
|
collections := make(map[UniqueID]*Collection)
|
||||||
partitions := make(map[UniqueID]*Partition)
|
partitions := make(map[UniqueID]*Partition)
|
||||||
|
|
Loading…
Reference in New Issue