未验证 提交 06607f69 编写于 作者: B bigsheeper 提交者: GitHub

[skip ci] Add comment for getPartitionNum (#11099)

Signed-off-by: Nbigsheeper <yihao.dai@zilliz.com>
上级 7dcfb39e
......@@ -71,6 +71,7 @@ type ReplicaInterface interface {
getPartitionByID(partitionID UniqueID) (*Partition, error)
// hasPartition returns true if collectionReplica has the partition, false otherwise
hasPartition(partitionID UniqueID) bool
// getPartitionNum returns num of partitions
getPartitionNum() int
getSegmentIDs(partitionID UniqueID) ([]UniqueID, error)
getSegmentIDsByVChannel(partitionID UniqueID, vChannel Channel) ([]UniqueID, error)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册