mirror of https://github.com/milvus-io/milvus.git
[skip ci] Add comment for addColllection (#9523)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>pull/9509/head
parent
aacfa172ba
commit
edea91ae6e
|
@ -133,6 +133,7 @@ func (colReplica *collectionReplica) getCollectionIDs() []UniqueID {
|
|||
return collectionIDs
|
||||
}
|
||||
|
||||
// addCollection creates a new collection and add it to collectionReplica
|
||||
func (colReplica *collectionReplica) addCollection(collectionID UniqueID, schema *schemapb.CollectionSchema) error {
|
||||
colReplica.mu.Lock()
|
||||
defer colReplica.mu.Unlock()
|
||||
|
|
Loading…
Reference in New Issue