mirror of https://github.com/milvus-io/milvus.git
[skip e2e] Clean load meta of 2.2 when rollback (#20195)
Signed-off-by: longjiquan <jiquan.long@zilliz.com> Signed-off-by: longjiquan <jiquan.long@zilliz.com>pull/20200/head
parent
61775122ea
commit
3625b02d50
|
@ -3,6 +3,8 @@ package backend
|
|||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/milvus-io/milvus/internal/metastore/kv/querycoord"
|
||||
|
||||
"github.com/milvus-io/milvus/cmd/tools/migration/configs"
|
||||
|
||||
"github.com/milvus-io/milvus/internal/util"
|
||||
|
@ -128,8 +130,13 @@ func (b etcd220) Clean() error {
|
|||
rootcoord.FieldMetaPrefix,
|
||||
rootcoord.AliasMetaPrefix,
|
||||
|
||||
rootcoord.SnapshotPrefix,
|
||||
|
||||
util.FieldIndexPrefix,
|
||||
util.SegmentIndexPrefix,
|
||||
|
||||
querycoord.CollectionLoadInfoPrefix,
|
||||
querycoord.PartitionLoadInfoPrefix,
|
||||
}
|
||||
for _, prefix := range prefixes {
|
||||
if err := b.CleanWithPrefix(prefix); err != nil {
|
||||
|
|
Loading…
Reference in New Issue