mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-08 01:58:34 +08:00
[skip ci] Add comment for setSegment (#10201)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
This commit is contained in:
parent
cc8a526105
commit
24f6834192
@ -412,6 +412,7 @@ func (colReplica *collectionReplica) addSegmentPrivate(segmentID UniqueID, parti
|
||||
return nil
|
||||
}
|
||||
|
||||
// setSegment adds a segment to collectionReplica
|
||||
func (colReplica *collectionReplica) setSegment(segment *Segment) error {
|
||||
colReplica.mu.Lock()
|
||||
defer colReplica.mu.Unlock()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user