mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
[skip ci] Add comment for getSegmentInfosByColID (#12386)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
This commit is contained in:
parent
8bd7365172
commit
1e92ac48d5
@ -337,6 +337,7 @@ func (colReplica *collectionReplica) getFieldsByCollectionIDPrivate(collectionID
|
||||
return collection.Schema().Fields, nil
|
||||
}
|
||||
|
||||
// getSegmentInfosByColID return segments info by collectionID
|
||||
func (colReplica *collectionReplica) getSegmentInfosByColID(collectionID UniqueID) ([]*querypb.SegmentInfo, error) {
|
||||
colReplica.mu.RLock()
|
||||
defer colReplica.mu.RUnlock()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user