mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
[skip ci] Add comment for getExcludedSegments (#10465)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
This commit is contained in:
parent
83c835a1d6
commit
5a11175bea
@ -559,6 +559,7 @@ func (colReplica *collectionReplica) addExcludedSegments(collectionID UniqueID,
|
||||
colReplica.excludedSegments[collectionID] = append(colReplica.excludedSegments[collectionID], segmentInfos...)
|
||||
}
|
||||
|
||||
// getExcludedSegments returns excludedSegments of collectionReplica
|
||||
func (colReplica *collectionReplica) getExcludedSegments(collectionID UniqueID) ([]*datapb.SegmentInfo, error) {
|
||||
colReplica.mu.RLock()
|
||||
defer colReplica.mu.RUnlock()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user