[skip ci] Add comment for getSegmentIDsPrivate (#10110)

Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
pull/10130/head
bigsheeper 2021-10-18 20:22:56 +08:00 committed by GitHub
parent cbb8236c05
commit 9ec4105a85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -374,6 +374,7 @@ func (colReplica *collectionReplica) getSegmentIDsByVChannel(partitionID UniqueI
return segmentIDsTmp, nil
}
// getSegmentIDsPrivate is private function in collectionReplica, it returns segment ids
func (colReplica *collectionReplica) getSegmentIDsPrivate(partitionID UniqueID) ([]UniqueID, error) {
partition, err2 := colReplica.getPartitionByIDPrivate(partitionID)
if err2 != nil {