Support KeySpace
@iosmanthus đang làm issue này rồi.
Từ ngày 15/7/2022.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
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
- Ngôn ngữ chính
- Rust
- Star
- 434
- Fork
- 168
- Merge trung bình
- 4 ngày 12 giờ
- Pull request đã merge (30 ngày)
- 2
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của tikv/client-rust
-
contribution
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
tikv/client-rust#546 ·
-
Disable TSO for raw clients?Đang mởcontribution first-time-contributor
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
tikv/client-rust#531 · 1 bình luận ·
-
Resolve lock bugĐang mởcontribution first-time-contributor
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
tikv/client-rust#528 · 4 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 42/100
tikv/client-rust#516 · 1 bình luận ·
-
Reverse scan fail to find key when range spans multi regionCó thể đã có người làm @lance6716 đã nhận 33 ngày trước. Đang mởcontribution first-time-contributor
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 20/100
tikv/client-rust#512 · 5 bình luận ·
Tất cả issue của tikv/client-rust
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
quarto-dev/q2#1446 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
ProvableHQ/snarkOS#4817 ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 65/100
facebookexperimental/reverie#193 ·
-
documentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 1 ngày
-
needs triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
pbakaus/impeccable#1748 ·
Maintainer thường phản hồi trong vòng 1 ngày