[skip ci] Add comment for insertNode insert (#13037)

Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
pull/13056/head
bigsheeper 2021-12-09 14:13:53 +08:00 committed by GitHub
parent b206980feb
commit 3e9e7f707b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -265,6 +265,7 @@ func filterSegmentsByPKs(pks []int64, segment *Segment) ([]int64, error) {
return res, nil
}
// insert would execute insert operations for specific growing segment
func (iNode *insertNode) insert(iData *insertData, segmentID UniqueID, wg *sync.WaitGroup) {
log.Debug("QueryNode::iNode::insert", zap.Any("SegmentID", segmentID))
var targetSegment, err = iNode.streamingReplica.getSegmentByID(segmentID)