[skip ci] Add comment for addCollection (#10780)

Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
pull/10790/head
bigsheeper 2021-10-28 09:44:20 +08:00 committed by GitHub
parent 921ef0f2ea
commit b5fc643efd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -46,6 +46,7 @@ type ReplicaInterface interface {
// collection
// getCollectionIDs returns all collection ids in the collectionReplica
getCollectionIDs() []UniqueID
// addCollection creates a new collection and add it to collectionReplica
addCollection(collectionID UniqueID, schema *schemapb.CollectionSchema) error
// removeCollection removes the collection from collectionReplica
removeCollection(collectionID UniqueID) error