mirror of https://github.com/milvus-io/milvus.git
[skip ci] Add comment for addSegment (#10111)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>pull/10130/head
parent
9ec4105a85
commit
93ec046ef2
|
@ -384,6 +384,7 @@ func (colReplica *collectionReplica) getSegmentIDsPrivate(partitionID UniqueID)
|
|||
}
|
||||
|
||||
//----------------------------------------------------------------------------------------------------- segment
|
||||
// addSegment add a new segment to collectionReplica
|
||||
func (colReplica *collectionReplica) addSegment(segmentID UniqueID, partitionID UniqueID, collectionID UniqueID, vChannelID Channel, segType segmentType, onService bool) error {
|
||||
colReplica.mu.Lock()
|
||||
defer colReplica.mu.Unlock()
|
||||
|
|
Loading…
Reference in New Issue