Introduce Keyspace
- Dominant language
- Go
- Stars
- 40.5k
- Forks
- 6.2k
- PR merge metrics
- PR metrics pending
Description
## Feature Request
**Is your feature request related to a problem? Please describe:**
RFC: https://github.com/pingcap/tidb/pull/39685
**Describe the feature you'd like:**
If `keyspace-name` is set, the TiDB node will use API V2 to reading and writing TiKV data.
Different keyspaces have their own prefixes. So we can separate data by prefix.
**Describe alternatives you've considered:**
**Teachability, Documentation, Adoption, Migration Strategy:**
- [ ] Keyspace implement in TiDB:
- [x] https://github.com/pingcap/tidb/pull/40269
- [x] https://github.com/pingcap/tidb/pull/40532
- [x] https://github.com/pingcap/tidb/pull/40628
- [x] https://github.com/pingcap/tidb/pull/40639
- [x] https://github.com/pingcap/tidb/pull/41693
- [ ] support keyspace label in TiDB grafana
- [ ] TiDB GC Worker support GC V2
- [ ] Keyspace implement in TiDB Data import and export:
- [ ] TiDB Binlog
- [ ] TiDB CDC
- [ ] https://github.com/pingcap/tidb/pull/53541
- [X] Keyspace implement in PD:
- [x] https://github.com/tikv/pd/issues/5293 @AmoebaProtozoa
- [ ] https://github.com/tikv/pd/issues/7500
- [X] Keyspace implement in TiKV and client-go:
- [x] https://github.com/tikv/tikv/issues/12999
- [X] Keyspace implement in TiFlash:
- [x] https://github.com/pingcap/tiflash/pull/6816
- [x] https://github.com/pingcap/tiflash/pull/7072
- [x] https://github.com/pingcap/tiflash/pull/7684
- [ ] Keyspace level GC:
- [ ] https://github.com/pingcap/tidb/pull/53303
Contributor guide
Assessment
This issue has not been assessed yet.