Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lightning import partition tables failed due to "non-retryable error: read index not ready, reason can not read index due to split" #36566

Closed
fubinzh opened this issue Jul 26, 2022 · 0 comments · Fixed by #36574
Labels
affects-6.1 affects-6.2 component/lightning This issue is related to Lightning of TiDB. found/automation Found by automation tests severity/moderate type/bug The issue is confirmed as a bug.

Comments

@fubinzh
Copy link

fubinzh commented Jul 26, 2022

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

  1. Use lightning to import test data of 1.5K partition table

2. What did you expect to see? (Required)

Lightning import should succeed

3. What did you see instead (Required)

Lightning import failed due to "non-retryable error: read index not ready, reason can not read index due to split, region 64037"

[2022/07/25 04:52:58.753 +00:00] [INFO] [table_restore.go:1015] ["analyze completed"] [table=`new_data`.`PK_LCP9284`] [takeTime=2.401747315s] []
[2022/07/25 04:52:58.758 +00:00] [ERROR] [restore.go:1494] ["restore all tables data failed"] [takeTime=55m14.0129788s] [error="[Lightning:Restore:ErrRestoreTable]restore table `new_data`.`UK_LP17285` failed: non-retryable error: read index not ready, reason can not read index due to split, region 64037"]
[2022/07/25 04:52:58.758 +00:00] [ERROR] [restore.go:456] ["run failed"] [step=4] [error="[Lightning:Restore:ErrRestoreTable]restore table `new_data`.`UK_LP17285` failed: non-retryable error: read index not ready, reason can not read index due to split, region 64037"]
[2022/07/25 04:52:58.758 +00:00] [INFO] [restore.go:1137] ["everything imported, stopping periodic actions"]
[2022/07/25 04:52:58.758 +00:00] [ERROR] [restore.go:466] ["the whole procedure failed"] [takeTime=57m20.978459058s] [error="[Lightning:Restore:ErrRestoreTable]restore table `new_data`.`UK_LP17285` failed: non-retryable error: read index not ready, reason can not read index due to split, region 64037"]
[2022/07/25 04:52:58.758 +00:00] [ERROR] [restore.go:167] ["tables failed to be imported"] [count=2]
[2022/07/25 04:52:58.758 +00:00] [ERROR] [restore.go:169] [-] [table=`new_data`.`UK_LP17285`] [status=imported] [error="non-retryable error: read index not ready, reason can not read index due to split, region 64037"]
[2022/07/25 04:52:58.758 +00:00] [ERROR] [restore.go:169] [-] [table=`new_data`.`IDT_LP24677`] [status=imported] [error="non-retryable error: read index not ready, reason can not read index due to split, region 71138"]
[2022/07/25 04:52:58.763 +00:00] [INFO] [checksum.go:459] ["service safe point keeper exited"]
[2022/07/25 04:52:58.763 +00:00] [ERROR] [main.go:103] ["tidb lightning encountered error stack info"] [error="[Lightning:Restore:ErrRestoreTable]restore table `new_data`.`UK_LP17285` failed: non-retryable error: read index not ready, reason can not read index due to split, region 64037"]

4. What is your TiDB version? (Required)

[2022/07/25 03:55:37.272 +00:00] [INFO] [info.go:49] ["Welcome to TiDB-Lightning"] [release-version=v6.2.0] [git-hash=0ea937e56adac89ea7df1ce5406c7dc20a3f83ae] [git-branch=heads/refs/tags/v6.2.0] [go-version=go1.18.2] [utc-build-time="2022-07-23 10:05:04"] [race-enabled=false]

@fubinzh fubinzh added type/bug The issue is confirmed as a bug. component/lightning This issue is related to Lightning of TiDB. found/automation Found by automation tests labels Jul 26, 2022
@ti-chi-bot ti-chi-bot added may-affects-4.0 This bug maybe affects 4.0.x versions. may-affects-5.0 This bug maybe affects 5.0.x versions. may-affects-5.1 This bug maybe affects 5.1.x versions. may-affects-5.2 This bug maybe affects 5.2.x versions. may-affects-5.3 This bug maybe affects 5.3.x versions. may-affects-5.4 This bug maybe affects 5.4.x versions. may-affects-6.0 may-affects-6.1 labels Jul 26, 2022
@D3Hunter D3Hunter added severity/moderate and removed may-affects-4.0 This bug maybe affects 4.0.x versions. may-affects-5.1 This bug maybe affects 5.1.x versions. may-affects-5.2 This bug maybe affects 5.2.x versions. may-affects-5.3 This bug maybe affects 5.3.x versions. may-affects-5.4 This bug maybe affects 5.4.x versions. may-affects-5.0 This bug maybe affects 5.0.x versions. may-affects-6.0 may-affects-6.1 severity/major labels Jul 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-6.1 affects-6.2 component/lightning This issue is related to Lightning of TiDB. found/automation Found by automation tests severity/moderate type/bug The issue is confirmed as a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants