[skip ci] Add comment for getPartitionIDs (#9720)

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

View File

@ -211,6 +211,7 @@ func (colReplica *collectionReplica) getCollectionNum() int {
return len(colReplica.collections)
}
// getPartitionIDs returns partition ids of collection
func (colReplica *collectionReplica) getPartitionIDs(collectionID UniqueID) ([]UniqueID, error) {
colReplica.mu.RLock()
defer colReplica.mu.RUnlock()