mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-02 20:09:57 +08:00
[skip ci] Add comment for addExcludedSegments (#10464)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
This commit is contained in:
parent
bad8a41494
commit
83c835a1d6
@ -547,6 +547,7 @@ func (colReplica *collectionReplica) removeExcludedSegments(collectionID UniqueI
|
||||
delete(colReplica.excludedSegments, collectionID)
|
||||
}
|
||||
|
||||
// addExcludedSegments will add excludedSegments to collectionReplica
|
||||
func (colReplica *collectionReplica) addExcludedSegments(collectionID UniqueID, segmentInfos []*datapb.SegmentInfo) {
|
||||
colReplica.mu.Lock()
|
||||
defer colReplica.mu.Unlock()
|
||||
|
Loading…
Reference in New Issue
Block a user