pingcap / pingcap/tidb

lightning import stuck when PD/TiKV has label

Open
#46,658 2 comments 0 reactions 0 assignees View on GitHub
affects-7.5 affects-8.1 affects-8.5 component/lightning may-affects-5.3 may-affects-5.4 may-affects-6.1 may-affects-6.5 may-affects-7.1 severity/major 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 tidb in 6 machines, 128c256G,tidb v7.3.0
2) 1 tidb+2 tikv every machine(2 tikv get lable host1/host2)
3)lightning impot csv is slow
4)see lightning log and pd-ctl, always scattering or split region;
5) csv max size is 4GiB,total 20~30GiB,about 1000 tables;
6)then we use tidb-lightning v7.1.0 import tidb v7.3.0,but still get same problem;
7)we deploy tidb v7.1.0,and use tidb-lightning v7.1.0 import csv,still get same problem;
8) finally,we delete pd and tikv label,use tidb-lightning v7.1.0 import csv to tidb v7.1.0, it's fast;

### 2. What did you expect to see? (Required)
1)lightning should not always scattering or split region;
2) fast import csv into tidb;

### 3. What did you see instead (Required)
1)always scattering or split region;

### 4. What is your TiDB version? (Required)
v7.3.0 & v7.1.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.