pingcap / pingcap/tidb

create index use txn_merge instead of ingest due to not enough storage capacity of TiFlash

Open
#40,153 0 comments 0 reactions 1 assignee Claimed by @tangenta View on GitHub
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

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.