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 may return "context cancel" error when TiKV disk is slow #44733

Closed
lance6716 opened this issue Jun 16, 2023 · 0 comments · Fixed by #44734
Closed

lightning may return "context cancel" error when TiKV disk is slow #44733

lance6716 opened this issue Jun 16, 2023 · 0 comments · Fixed by #44734
Assignees
Labels
affects-7.1 affects-7.2 component/lightning This issue is related to Lightning of TiDB. severity/moderate type/bug This issue is a bug.

Comments

@lance6716
Copy link
Contributor

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

see UT of linked PR

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

error that indicate the TiKV space is not enough

3. What did you see instead (Required)

[2023/06/16 12:42:17.677 +08:00] [ERROR] [backend.go:353] ["import failed"] [engineTag=`test`.`t`:5] [engineUUID=09383b9a-7e8f-52d1-b6f1-ec86abee1258] [retryCnt=0] [takeTime=668.943958ms] [error="scan regions from start-key:7480000000000000FF5A5F728000000122FF9627480000000000FA, err: rpc error: code = Canceled desc = context canceled: [BR:PD:ErrPDBatchScanRegion]batch scan region"]

4. What is your TiDB version? (Required)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-7.1 affects-7.2 component/lightning This issue is related to Lightning of TiDB. severity/moderate type/bug This issue is a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants