[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
Jiquan Long 2022-10-31 13:01:33 +08:00 committed by GitHub
parent 61775122ea
commit 3625b02d50
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 0 deletions

View File

@ -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 {