mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-07 01:28:27 +08:00
fix: collection properties not saved for alter collection (#30145)
Resolves: #30144 Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
This commit is contained in:
parent
ddd741a5d4
commit
e3b8c3f60b
@ -457,6 +457,7 @@ func (kc *Catalog) alterModifyCollection(oldColl *model.Collection, newColl *mod
|
|||||||
oldCollClone.CreateTime = newColl.CreateTime
|
oldCollClone.CreateTime = newColl.CreateTime
|
||||||
oldCollClone.ConsistencyLevel = newColl.ConsistencyLevel
|
oldCollClone.ConsistencyLevel = newColl.ConsistencyLevel
|
||||||
oldCollClone.State = newColl.State
|
oldCollClone.State = newColl.State
|
||||||
|
oldCollClone.Properties = newColl.Properties
|
||||||
|
|
||||||
oldKey := BuildCollectionKey(oldColl.DBID, oldColl.CollectionID)
|
oldKey := BuildCollectionKey(oldColl.DBID, oldColl.CollectionID)
|
||||||
newKey := BuildCollectionKey(newColl.DBID, oldColl.CollectionID)
|
newKey := BuildCollectionKey(newColl.DBID, oldColl.CollectionID)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user