mirror of https://github.com/milvus-io/milvus.git
[skip ci] Add comment for addSegmentPrivate (#10112)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>pull/10133/head
parent
93ec046ef2
commit
f8e7f3f549
|
@ -396,6 +396,7 @@ func (colReplica *collectionReplica) addSegment(segmentID UniqueID, partitionID
|
|||
return colReplica.addSegmentPrivate(segmentID, partitionID, seg)
|
||||
}
|
||||
|
||||
// addSegmentPrivate is private function in collectionReplica, to add a new segment to collectionReplica
|
||||
func (colReplica *collectionReplica) addSegmentPrivate(segmentID UniqueID, partitionID UniqueID, segment *Segment) error {
|
||||
partition, err := colReplica.getPartitionByIDPrivate(partitionID)
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in New Issue