Support KeySpace

Đang mở
#359 1 bình luận 0 reaction 1 người được giao Xem trên GitHub

@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:

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

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của tikv/client-rust

Tất cả issue của tikv/client-rust

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.