pingcap / pingcap/tidb

Support data affinity schedule for performance optimization

Open
#64,938 0 comments 0 reactions 0 assignees View on GitHub
sig/execution sig/sql-infra sig/transaction type/feature-request
Dominant language
Go
Stars
40.5k
Forks
6.2k
PR merge metrics
PR metrics pending

Description

# Background

See the [background](https://github.com/tikv/pd/issues/9764) part in TiKV.

# Tasks

## TiDB

- [x] https://github.com/pingcap/tidb/pull/64988
- [x] https://github.com/pingcap/tidb/pull/65049
- [x] #66627
- [ ] The affinity compatibility with BR / PiTR
- [ ] The affinity compatibility with CDC
- [ ] After truncate table, the affinity should also work.
- [ ] The affinity should also be handled after the exchange partition
- [ ] After truncate / drop table, the affinity group in PD should be GC after safepoint.
- [ ] recover table should handle AFFINITY
- [ ] flashback cluster should handle AFFINITY

## TiKV

See: https://github.com/tikv/pd/issues/9764

## Release-8.5

- [x] https://github.com/pingcap/tidb/pull/65101

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.