Skip to content

lightning failing the entire bulk load with Error 1205: Lock wait timeout exceeded; try restarting transaction" #53042

@mittalrishabh

Description

@mittalrishabh

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

Metadata

Metadata

Assignees

Labels

affects-5.3This bug affects 5.3.x versions.affects-5.4This bug affects the 5.4.x(LTS) versions.affects-6.1This bug affects the 6.1.x(LTS) versions.affects-6.5This bug affects the 6.5.x(LTS) versions.affects-7.1This bug affects the 7.1.x(LTS) versions.affects-7.5This bug affects the 7.5.x(LTS) versions.affects-8.1This bug affects the 8.1.x(LTS) versions.component/lightningThis issue is related to Lightning of TiDB.severity/majortype/bugThe issue is confirmed as a bug.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions