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

retry on unknown RPC error from TiKV #43291

Closed
Tracked by #43740
D3Hunter opened this issue Apr 21, 2023 · 0 comments · Fixed by #43293
Closed
Tracked by #43740

retry on unknown RPC error from TiKV #43291

D3Hunter opened this issue Apr 21, 2023 · 0 comments · Fixed by #43293
Assignees
Labels
affects-6.5 affects-7.1 component/lightning This issue is related to Lightning of TiDB. severity/moderate type/bug The issue is confirmed as a bug. type/enhancement The issue or PR belongs to an enhancement.

Comments

@D3Hunter
Copy link
Contributor

Enhancement

met a case when write to tikv, report error rpc error: code = Unknown desc = EngineTraits(Engine(Status { code: IoError, sub_code: None, sev: NoError, state: \"IO error: No such file or directory: while stat a file for size: /...../63992d9c-fbc8-4708-b963-32495b299027_32279707_325_5280_write.sst: No such file or directory\", should retry on this.

annotate write error with peer/region/store info to help debug

print log when failed to import table with real error stack. common.NormalizeOrWrapErr has bug that it may replace the stack.(will not fix in the related pr, can fix it later.)

@D3Hunter D3Hunter added type/enhancement The issue or PR belongs to an enhancement. component/lightning This issue is related to Lightning of TiDB. labels Apr 21, 2023
@D3Hunter D3Hunter added type/bug The issue is confirmed as a bug. severity/moderate labels Apr 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-6.5 affects-7.1 component/lightning This issue is related to Lightning of TiDB. severity/moderate type/bug The issue is confirmed as a bug. type/enhancement The issue or PR belongs to an enhancement.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants