`USE INDEX(PRIMARY)` will remove tiflash path
Open
affects-6.5
affects-7.1
affects-7.5
affects-8.1
affects-8.5
epic/hint
may-affects-5.4
may-affects-6.1
severity/major
sig/planner
type/bug
- Dominant language
- Go
- Stars
- 40.5k
- Forks
- 6.2k
- PR merge metrics
- PR metrics pending
Description
## Bug Report
Please answer these questions before submitting your issue. Thanks!
### 1. Minimal reproduce step (Required)

### 2. What did you expect to see? (Required)
Tiflash path should be reserved since it is a primary key table path.
### 3. What did you see instead (Required)
### 4. What is your TiDB version? (Required)
current master.
Contributor guide
Assessment
This issue has not been assessed yet.