# 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
Background
See the background part in TiKV.
Tasks
TiDB
AFFINITYfor table #64988show affinity#65049TiKV
See: tikv/pd#9764
Release-8.5