mirror of
https://github.com/MariaDB/server.git
synced 2025-04-07 07:45:33 +02:00

DML transactions on FK-child tables also get table locks on FK-parent tables. If there is a DML transaction holding such a lock, and a TOI transaction starts, the latter BF-aborts the former and puts itself into a waiting state. If at this moment another DML transaction on FK-child table starts, it doesn't check that the transaction waiting on a parent table lock is TOI, and it erroneously BF-aborts the waiting TOI transaction. The fix: don't roll back high-priority transaction waiting on a lock in InnoDB, instead roll back an incoming DML transaction. Signed-off-by: Julius Goryavsky <julius.goryavsky@mariadb.com>
5 lines
108 B
INI
5 lines
108 B
INI
!include ../galera_2nodes.cnf
|
|
|
|
# Disable retry for autocommit statements.
|
|
[mysqld]
|
|
wsrep-retry-autocommit=0
|