mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-08 01:58:34 +08:00
[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>
This commit is contained in:
parent
61775122ea
commit
3625b02d50
@ -3,6 +3,8 @@ package backend
|
|||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
|
"github.com/milvus-io/milvus/internal/metastore/kv/querycoord"
|
||||||
|
|
||||||
"github.com/milvus-io/milvus/cmd/tools/migration/configs"
|
"github.com/milvus-io/milvus/cmd/tools/migration/configs"
|
||||||
|
|
||||||
"github.com/milvus-io/milvus/internal/util"
|
"github.com/milvus-io/milvus/internal/util"
|
||||||
@ -128,8 +130,13 @@ func (b etcd220) Clean() error {
|
|||||||
rootcoord.FieldMetaPrefix,
|
rootcoord.FieldMetaPrefix,
|
||||||
rootcoord.AliasMetaPrefix,
|
rootcoord.AliasMetaPrefix,
|
||||||
|
|
||||||
|
rootcoord.SnapshotPrefix,
|
||||||
|
|
||||||
util.FieldIndexPrefix,
|
util.FieldIndexPrefix,
|
||||||
util.SegmentIndexPrefix,
|
util.SegmentIndexPrefix,
|
||||||
|
|
||||||
|
querycoord.CollectionLoadInfoPrefix,
|
||||||
|
querycoord.PartitionLoadInfoPrefix,
|
||||||
}
|
}
|
||||||
for _, prefix := range prefixes {
|
for _, prefix := range prefixes {
|
||||||
if err := b.CleanWithPrefix(prefix); err != nil {
|
if err := b.CleanWithPrefix(prefix); err != nil {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user