Support KeySpace

Aperta
#359 1 commento 0 reazioni 1 assegnatario Vedi su GitHub

@iosmanthus ci sta già lavorando.

Dal 15/7/2022.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

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
Lingua principale
Rust
Stelle
434
Fork
168
Merge medio
4g 12h
PR unite (30g)
2

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di tikv/client-rust

Tutte le issue di tikv/client-rust

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.