[skip e2e] Fix missing num_rows after meta migration (#19841)

Signed-off-by: longjiquan <jiquan.long@zilliz.com>
pull/19838/head
Jiquan Long 2022-10-17 19:40:51 +08:00 committed by GitHub
parent 17ce0c3979
commit 34e04c27ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -146,7 +146,7 @@ func combineToSegmentIndexesMeta220(segmentIndexes SegmentIndexesMeta210, indexB
SegmentID: segID,
CollectionID: record.GetCollectionID(),
PartitionID: record.GetPartitionID(),
NumRows: 0, // TODO: how to set this?
NumRows: buildMeta.GetReq().GetNumRows(),
IndexID: indexID,
BuildID: record.GetBuildID(),
NodeID: buildMeta.GetNodeID(),