Details
-
New Feature
-
Status: Done
-
Critical
-
Resolution: Fixed
-
5.6.37-82.2, 5.7.19-17
-
None
-
None
Description
Currently InnoDB has option innodb_print_all_deadlocks which tells InnoDB to redirect information about all deadlocks into log file. Please implement similar feature, but for "Lock wait timeout" errors. Print information about both failed and blocking transactions.
Since blocking transaction is often multiple statement transaction, if possible, print all statements. You may print all statements depending if historical Performance Schema instrumentation for statements enabled or not: in this case server already stored statements, participated in the transaction.
How to repeat:
Ask your colleague to run high concurrent load which produces "Lock wait timeout" errors, try to find reason for them.
TokuDB can do this if option tokudb_lock_timeout_debug is set
Attachments
Issue Links
- relates to
-
PS-3961 Improve fix for PS-255: print blocking query when possible
-
- On Hold
-