-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
innodb_lock_wait_timeout doesn't work in some case #56688
Labels
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.
affects-8.4
report/customer
Customers have encountered this bug.
severity/major
sig/transaction
SIG:Transaction
type/bug
The issue is confirmed as a bug.
Comments
In rare case the request is retired and write conflict error is returned, the lock wati timeout would not be checked in time. |
/report customer |
13 tasks
13 tasks
13 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
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.
affects-8.4
report/customer
Customers have encountered this bug.
severity/major
sig/transaction
SIG:Transaction
type/bug
The issue is confirmed as a bug.
Bug Report
Please answer these questions before submitting your issue. Thanks!
The following slow SQL execution time is
147s
, and theExec_retry_time
of this SQL is145s
, which is much larger than theinnodb_lock_wait_timeout
value50s
. It's strange why it doesn't return anLock wait timeout exceeded
error earlier.1. Minimal reproduce step (Required)
You can use loadgen tool to implement this:
2. What did you expect to see? (Required)
The slowest execution time of SQL
update t use index (idx) set k=k+1 where id > 0;
should be around 50s.3. What did you see instead (Required)
The slowest execution time of SQL
update t use index (idx) set k=k+1 where id > 0;
is much larger than theinnodb_lock_wait_timeout
value50s
. It's strange why it doesn't return anLock wait timeout exceeded
error earlier.4. What is your TiDB version? (Required)
nightly: 3df0f2e
The text was updated successfully, but these errors were encountered: