mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
fix: [cherry-pick] Get current index version from knowhere (#34902)
issue: #34900 master pr: #34901 Signed-off-by: Cai Zhang <cai.zhang@zilliz.com>
This commit is contained in:
parent
176034d1d0
commit
88da0251af
@ -376,6 +376,8 @@ func (it *indexBuildTask) PreExecute(ctx context.Context) error {
|
||||
}
|
||||
}
|
||||
|
||||
it.req.CurrentIndexVersion = getCurrentIndexVersion(it.req.GetCurrentIndexVersion())
|
||||
|
||||
log.Ctx(ctx).Info("Successfully prepare indexBuildTask", zap.Int64("buildID", it.req.GetBuildID()),
|
||||
zap.Int64("collectionID", it.req.GetCollectionID()), zap.Int64("segmentID", it.req.GetSegmentID()))
|
||||
return nil
|
||||
@ -566,7 +568,6 @@ func (it *indexBuildTask) parseFieldMetaFromBinlog(ctx context.Context) error {
|
||||
break
|
||||
}
|
||||
}
|
||||
it.req.CurrentIndexVersion = getCurrentIndexVersion(it.req.GetCurrentIndexVersion())
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user