未验证 提交 75f1c2f2 编写于 作者: B bigsheeper 提交者: GitHub

[skip ci] Add comment for newCollectionReplica (#10573)

Signed-off-by: Nbigsheeper <yihao.dai@zilliz.com>
上级 41493a48
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册