pingcap / pingcap/tidb

`USE INDEX(PRIMARY)` will remove tiflash path

Open
#56,504 1 comment 0 reactions 0 assignees View on GitHub
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)

![image](https://github.com/user-attachments/assets/38769e16-67da-4166-9f98-c0244472a929)

### 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

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.