Add log for building index about num rows (#7811)

Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
pull/7860/head
cai.zhang 2021-09-14 10:27:06 +08:00 committed by GitHub
parent 691e4c5bc9
commit 8a458b7a38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -840,8 +840,7 @@ func (c *Core) BuildIndex(ctx context.Context, segID typeutil.UniqueID, field *s
}
}
log.Debug("build index", zap.String("index name", idxInfo.IndexName),
zap.String("field name", field.Name),
zap.Int64("segment id", segID))
zap.String("field name", field.Name), zap.Int64("segment id", segID), zap.Int64("num rows", rows))
return bldID, nil
}