run integration-tests with tikv v6.5.8 failed

未关闭
#447 8 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
32/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
技术栈
rust
领域
databases

调研方向

先复现 TiKV 6.5.8 的集成测试失败,并阅读 tests/common/mod.rs:37,其中对错误进行了 unwrap。跟踪 TransactionClient::new 和 api-version 配置,以确定 raw_delete_range 为什么会向 V1 存储发送 V2;完成的标准是相关集成测试在 TiKV 6.5.8 上通过,且不使用 api-version = 2。

由索引模型根据 Issue 内容生成。

描述

run integration-tests on tikv 6.5.8 without api-version = 2, got error

failures:

---- txn_batch_mutate_pessimistic stdout ----
thread 'txn_batch_mutate_pessimistic' panicked at tests/common/mod.rs:37:10:
called `Result::unwrap()` on an `Err` value: ExtractedErrors([StringError("Multiple key errors: [KvError { message: \"Api version in request does not match with TiKV storage, cmd: raw_delete_range, storage: V1, request: V2\" }]")])
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

how to set the client to api-version = 1?
use TransactionClient::new should use v1, but get the same error

主要语言
Rust
星标
434
派生
168
平均合并
4 天 12 小时
30 天内合并 PR
2

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

tikv/client-rust 的其他 Issue

查看 tikv/client-rust 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。