mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-02-04 11:18:44 +08:00
Specification log (#20119)
Signed-off-by: cai.zhang <cai.zhang@zilliz.com> Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
This commit is contained in:
parent
26d26aa8ab
commit
53289a63e6
@ -464,12 +464,12 @@ func (b etcd210) BackupV2(file string) error {
|
||||
return err
|
||||
}
|
||||
for _, kv := range resp.Kvs {
|
||||
currentKey = string(append(kv.Key, 0))
|
||||
if kv.Lease != 0 {
|
||||
console.Warning(fmt.Sprintf("lease key won't be backuped: %s, lease id: %d", kv.Key, kv.Lease))
|
||||
continue
|
||||
}
|
||||
saves[string(kv.Key)] = string(kv.Value)
|
||||
currentKey = string(append(kv.Key, 0))
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -88,7 +88,7 @@ func ErrProxyNotReady() error {
|
||||
}
|
||||
|
||||
func ErrPartitionNotExist(partitionName string) error {
|
||||
return fmt.Errorf("partitionID of partitionName:%s can not be find", partitionName)
|
||||
return fmt.Errorf("partition is not exist: %s", partitionName)
|
||||
}
|
||||
|
||||
func ErrAmbiguousIndexName() error {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user