mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-03 12:29:36 +08:00
[skip ci] Add comment for hasPartition (#11022)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
This commit is contained in:
parent
b369061ab3
commit
5eb0b67fbc
@ -69,6 +69,7 @@ type ReplicaInterface interface {
|
||||
removePartition(partitionID UniqueID) error
|
||||
// getPartitionByID returns the partition which id is partitionID
|
||||
getPartitionByID(partitionID UniqueID) (*Partition, error)
|
||||
// hasPartition returns true if collectionReplica has the partition, false otherwise
|
||||
hasPartition(partitionID UniqueID) bool
|
||||
getPartitionNum() int
|
||||
getSegmentIDs(partitionID UniqueID) ([]UniqueID, error)
|
||||
|
Loading…
Reference in New Issue
Block a user