diff --git a/internal/querynodev2/segments/collection.go b/internal/querynodev2/segments/collection.go index ceeaa89b96..108236c560 100644 --- a/internal/querynodev2/segments/collection.go +++ b/internal/querynodev2/segments/collection.go @@ -331,6 +331,7 @@ func NewCollection(collectionID int64, schema *schemapb.CollectionSchema, indexM dbName: loadMetaInfo.GetDbName(), dbProperties: loadMetaInfo.GetDbProperties(), resourceGroup: loadMetaInfo.GetResourceGroup(), + schemaVersion: loadMetaInfo.GetSchemaVersion(), refCount: atomic.NewUint32(0), isGpuIndex: isGpuIndex, loadFields: loadFieldIDs,