create index use txn_merge instead of ingest due to not enough storage capacity of TiFlash
Open
affects-6.6
affects-7.0
affects-7.1
affects-7.5
component/ddl
severity/moderate
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)
1. deploy a cluster with TiFlash nodes, and make TiFlash nodes with no more than 10% storage capacity left.
2. create index
### 2. What did you expect to see? (Required)
use ingest when create index
### 3. What did you see instead (Required)
change to txn merge.
The reason maybe TiFlash peers are not excluded when local checking. https://github.com/pingcap/tidb/blob/c30a9fffe1ffa2112a608a5f99113f74d09a05ff/br/pkg/lightning/backend/local/local.go#L909
### 4. What is your TiDB version? (Required)
v6.5.0
Contributor guide
Assessment
This issue has not been assessed yet.