Skip to content

Commit

Permalink
[skip ci] Add comment for getSegmentNum (milvus-io#11252)
Browse files Browse the repository at this point in the history
Signed-off-by: bigsheeper <[email protected]>
  • Loading branch information
bigsheeper authored Nov 4, 2021
1 parent b028e58 commit 4f03f27
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/querynode/collection_replica.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ type ReplicaInterface interface {
getSegmentByID(segmentID UniqueID) (*Segment, error)
// hasSegment returns true if collectionReplica has the segment, false otherwise
hasSegment(segmentID UniqueID) bool
// getSegmentNum returns num of segments in collectionReplica
getSegmentNum() int
getSegmentStatistics() []*internalpb.SegmentStats

Expand Down

0 comments on commit 4f03f27

Please sign in to comment.