未验证 提交 3cff929b 编写于 作者: B bigsheeper 提交者: GitHub

[skip ci] Add comment for getPartitionByIDPrivate (#9978)

Signed-off-by: Nbigsheeper <yihao.dai@zilliz.com>
上级 98ed253e
......@@ -316,6 +316,7 @@ func (colReplica *collectionReplica) getPartitionByID(partitionID UniqueID) (*Pa
return colReplica.getPartitionByIDPrivate(partitionID)
}
// getPartitionByIDPrivate is the private function in collectionReplica, to get the partition
func (colReplica *collectionReplica) getPartitionByIDPrivate(partitionID UniqueID) (*Partition, error) {
partition, ok := colReplica.partitions[partitionID]
if !ok {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册