未验证 提交 f8e7f3f5 编写于 作者: B bigsheeper 提交者: GitHub

[skip ci] Add comment for addSegmentPrivate (#10112)

Signed-off-by: Nbigsheeper <yihao.dai@zilliz.com>
上级 93ec046e
......@@ -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 {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册