Support KeySpace
@iosmanthus がすでに取り組んでいます。
2022年7月15日 から。
評価
この issue はまだ評価されていません。
説明
KeySpace is fundamental for transaction safety and multi-tenant features for TiKV. This is the tracking issue for the feature in client-rust. For tracking issues of other components, check:
- TiKV: https://github.com/tikv/tikv/issues/12999
- PD: https://github.com/tikv/pd/issues/5293
- client-go: https://github.com/tikv/client-go/issues/545
Currently, https://github.com/tikv/client-rust/pull/353 has introduced a new type parameter for both the transaction and the raw client to support an extensible request codec. We have two implementations for now: plain API V1 and API V2 with the keyspace feature. However, we only support constructing a new API V2 instance by ApiV2::default(). More new functions should be provided to enable users to create keyspaces by keyspace_name or keyspace_id. This requires:
- implement acquiring keyspace info from PD. @iosmanthus
- introduces a keyspace cache for each instance of the client. @iosmanthus
- unit/integration tests for API v2 @iosmanthus
- 主要言語
- Rust
- スター
- 434
- フォーク
- 168
- 平均マージ
- 4日 12時間
- マージ済み PR(30日)
- 2
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
tikv/client-rust のほかの issue
-
contribution
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
tikv/client-rust#546 ·
-
contribution first-time-contributor
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
tikv/client-rust#531 · コメント 1 件 ·
-
Resolve lock bugオープンcontribution first-time-contributor
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
tikv/client-rust#528 · コメント 4 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 42/100
tikv/client-rust#516 · コメント 1 件 ·
-
Reverse scan fail to find key when range spans multi region対応中かも @lance6716 が 33 日前に担当しました。 オープンcontribution first-time-contributor
難易度 4/5 3〜5日 初心者へのやさしさ 20/100
tikv/client-rust#512 · コメント 5 件 ·
tikv/client-rust の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
quarto-dev/q2#1446 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
ProvableHQ/snarkOS#4817 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 65/100
facebookexperimental/reverie#193 ·
-
documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
needs triage
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
pbakaus/impeccable#1748 ·
メンテナーはふだん 1 日以内に返信