[skip ci] Add comment for getVecFieldIDsByCollectionID (#9721)

Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
pull/9743/head
bigsheeper 2021-10-12 19:11:04 +08:00 committed by GitHub
parent cdeb64d90a
commit 55193ec75a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -224,6 +224,7 @@ func (colReplica *collectionReplica) getPartitionIDs(collectionID UniqueID) ([]U
return collection.partitionIDs, nil
}
// getVecFieldIDsByCollectionID returns vector field ids of collection
func (colReplica *collectionReplica) getVecFieldIDsByCollectionID(collectionID UniqueID) ([]FieldID, error) {
colReplica.mu.RLock()
defer colReplica.mu.RUnlock()