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

scatter region failed due to region 0 not found during lightning import #4763

Closed
fubinzh opened this issue Mar 24, 2022 · 1 comment · Fixed by #4766
Closed

scatter region failed due to region 0 not found during lightning import #4763

fubinzh opened this issue Mar 24, 2022 · 1 comment · Fixed by #4766
Labels
affects-6.0 severity/critical type/bug The issue is confirmed as a bug.

Comments

@fubinzh
Copy link

fubinzh commented Mar 24, 2022

Bug Report

What did you do?

  1. Do a lightning import to tidb cluster with 15 TiKV nodes using lightning local backend

What did you expect to see?

  1. Data imported in TiKV should be scattered among all TiKV nodes.

What did you see instead?

  1. scatter region failed due to below PD error, as a result, data only imported to 3 TiKV nodes, and make these TiKV disk full and not able to finish the import.
[2022/03/23 11:44:34.987 +08:00] [WARN] [localhelper.go:385] ["scatter region failed"] [regionCount=3] [failedCount=3] [error="rpc error: code = Unknown desc = region 0 not found"] [retry=0]

pd_scatter_failed

What version of PD are you using (pd-server -V)?

Release Version: v6.0.0
Edition: Community
Git Commit Hash: f1b8f80
Git Branch: heads/refs/tags/v6.0.0
UTC Build Time: 2022-03-18 07:33:08

@fubinzh fubinzh added the type/bug The issue is confirmed as a bug. label Mar 24, 2022
@fubinzh
Copy link
Author

fubinzh commented Mar 24, 2022

/severity critical

ti-chi-bot pushed a commit that referenced this issue Mar 28, 2022
close #4763

server: use old interface for scatter region

Signed-off-by: nolouch <nolouch@gmail.com>
ti-chi-bot added a commit that referenced this issue Mar 28, 2022
close #4763, ref #4766

server: use old interface for scatter region

Signed-off-by: nolouch <nolouch@gmail.com>

Co-authored-by: nolouch <nolouch@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-6.0 severity/critical type/bug The issue is confirmed as a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants