Skip to content

Support KeySpace #545

@iosmanthus

Description

@iosmanthus

KeySpace is fundamental for transaction safety and multi-tenant features for TiKV. This is the tracking issue for the feature in client-go. For tracking issues of other components, check:

Currently, we only implemented the feature that writes data to the default keyspace in raw.Client leading to three major issues:

  • txn.Client is still in API V1. The transaction requests are not encoded: [WIP] Introduce Codec #557. @AmoebaProtozoa
  • Only default keyspace could be written. We should provide some API to write specified keyspace with their name or ID. @AmoebaProtozoa
  • If TiDB need writes different keyspaces, the coprocessor request should be encoded on the client side. Meanwhile, the TiKV coprocessor should decode the key before doing calculations. @iosmanthus

There are some bugs with the KeySpace feature in client-go, we track them here:

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions