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 failing the entire bulk load with Error 1205: Lock wait timeout exceeded; try restarting transaction" #53042

Closed
mittalrishabh opened this issue May 6, 2024 · 5 comments · Fixed by #55670
Assignees
Labels
affects-5.3 This bug affects 5.3.x versions. affects-5.4 This bug affects the 5.4.x(LTS) versions. affects-6.1 This bug affects the 6.1.x(LTS) versions. affects-6.5 This bug affects the 6.5.x(LTS) versions. affects-7.1 This bug affects the 7.1.x(LTS) versions. affects-7.5 This bug affects the 7.5.x(LTS) versions. affects-8.1 This bug affects the 8.1.x(LTS) versions. component/lightning This issue is related to Lightning of TiDB. severity/major type/bug The issue is confirmed as a bug.

Comments

@mittalrishabh
Copy link
Contributor

Bug Report

Please answer these questions before submitting your issue. Thanks!

Lightnining is failing the bulk load for intermittent bulk load requests. One common place where we see it failing is while updating the meta tasks.

1. Minimal reproduce step (Required)

It was reproducible internally for intermittent connection issues.

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

I would expect retry with back off as connection errors are intermittent.

3. What did you see instead (Required)

It is failing the whole bulk load.

4. What is your TiDB version? (Required)

6.5

@mittalrishabh mittalrishabh added the type/bug The issue is confirmed as a bug. label May 6, 2024
@jebter jebter added the component/lightning This issue is related to Lightning of TiDB. label May 7, 2024
@fubinzh
Copy link

fubinzh commented Jun 18, 2024

/severity major

@D3Hunter D3Hunter added sig/sql-infra SIG: SQL Infra and removed component/lightning This issue is related to Lightning of TiDB. labels Aug 15, 2024
@D3Hunter
Copy link
Contributor

lightning only runs the sql, might be issue of tidb, can you provide more info, like which sql causes the error and tidb logs related to the sql

@mittalrishabh
Copy link
Contributor Author

i have created this PR #53043

@ti-chi-bot ti-chi-bot bot added the affects-8.5 This bug affects the 8.5.x(LTS) versions. label Nov 1, 2024
@bb7133 bb7133 added component/lightning This issue is related to Lightning of TiDB. and removed sig/sql-infra SIG: SQL Infra labels Nov 14, 2024
@bb7133
Copy link
Member

bb7133 commented Nov 14, 2024

Change the tag to 'lightning'

@lance6716 lance6716 self-assigned this Nov 19, 2024
@lance6716
Copy link
Contributor

closed by #55670

@lance6716 lance6716 removed the affects-8.5 This bug affects the 8.5.x(LTS) versions. label Nov 20, 2024
@lance6716 lance6716 added affects-5.3 This bug affects 5.3.x versions. affects-5.4 This bug affects the 5.4.x(LTS) versions. affects-6.1 This bug affects the 6.1.x(LTS) versions. affects-6.5 This bug affects the 6.5.x(LTS) versions. affects-7.1 This bug affects the 7.1.x(LTS) versions. affects-7.5 This bug affects the 7.5.x(LTS) versions. labels Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-5.3 This bug affects 5.3.x versions. affects-5.4 This bug affects the 5.4.x(LTS) versions. affects-6.1 This bug affects the 6.1.x(LTS) versions. affects-6.5 This bug affects the 6.5.x(LTS) versions. affects-7.1 This bug affects the 7.1.x(LTS) versions. affects-7.5 This bug affects the 7.5.x(LTS) versions. affects-8.1 This bug affects the 8.1.x(LTS) versions. component/lightning This issue is related to Lightning of TiDB. severity/major type/bug The issue is confirmed as a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants