[skip ci] Add comment for removePartitionPrivate (#9891)

Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
pull/9894/head
bigsheeper 2021-10-14 18:52:41 +08:00 committed by GitHub
parent 5ffe605865
commit d59bb7dd29
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -285,6 +285,7 @@ func (colReplica *collectionReplica) removePartition(partitionID UniqueID) error
return colReplica.removePartitionPrivate(partitionID)
}
// removePartitionPrivate is the private function in collectionReplica, to remove the partition from collectionReplica
func (colReplica *collectionReplica) removePartitionPrivate(partitionID UniqueID) error {
partition, err := colReplica.getPartitionByIDPrivate(partitionID)
if err != nil {