Details
-
Bug
-
Status: Confirmed (View Workflow)
-
Major
-
Resolution: Unresolved
-
10.4(EOL), 10.5, 10.6, 10.7(EOL), 10.8(EOL), 10.9(EOL), 10.10(EOL), 10.11, 11.0(EOL), 11.1(EOL), 11.2(EOL)
Description
The recent release of MySQL 8.0.35 includes the following change:
Bug #23036096 - INNODB LAST DETECTED DEADLOCK NOT SHOWING FULL QUERY
The function innobase_mysql_print_thd() reserves a 1024-byte buffer for the output of a function that in MariaDB has been renamed to thd_get_error_context_description(). At most 600 first bytes of the SQL string will be copied to the buffer. The above fix is increasing that limit to 3000 bytes.
In MariaDB, at least starting with the fix of MDEV-15359, it is possible that no SQL statement will be output at all. In some MariaDB releases, there also was a lock order inversion problem that caused server hangs; see MDEV-13983 for some details.
In MariaDB Server 10.6, the locking subsystem was greatly refactored by MDEV-20612, MDEV-24738 and other changes. Therefore, it could make sense to not fix this bug in earlier major versions.
Attachments
Issue Links
- duplicates
-
MDEV-34645 truncated deadlock output
- Closed
- relates to
-
MDEV-13983 Mariadb becomes unresponsive
- Closed
-
MDEV-15359 Thread stay in "cleaning up" status after finishing
- Closed
-
MDEV-30973 Enhance output of innodb deadlocks (SAMU-124, SAMU-131)
- In Review
-
MDEV-32579 Merge new release of InnoDB 5.7.44 to 10.4
- Closed