mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
[skip ci] Add comment for getSegmentStatistics (#10373)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
This commit is contained in:
parent
a91486e966
commit
f35d342426
@ -490,6 +490,7 @@ func (colReplica *collectionReplica) getSegmentNum() int {
|
||||
return len(colReplica.segments)
|
||||
}
|
||||
|
||||
// getSegmentStatistics returns the statistics of segments in collectionReplica
|
||||
func (colReplica *collectionReplica) getSegmentStatistics() []*internalpb.SegmentStats {
|
||||
colReplica.mu.RLock()
|
||||
defer colReplica.mu.RUnlock()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user