未验证 提交 53289a63 编写于 作者: C cai.zhang 提交者: GitHub

Specification log (#20119)

Signed-off-by: Ncai.zhang <cai.zhang@zilliz.com>
Signed-off-by: Ncai.zhang <cai.zhang@zilliz.com>
上级 26d26aa8
......@@ -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 {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册