Replicating XA Transactions in MySQL 5.7, the Slave Fails With Lock Wait Timeout and the Error: "Slave SQL thread retried transaction 10 time(s) in vain, giving up. Consider raising the value of the slave_transaction_retries variable."
Last updated on JANUARY 29, 2018
Applies to:MySQL Server - Version 5.7 to 5.7 [Release 5.7]
Information in this document applies to any platform.
Replicating XA transactions in MySQL 5.7 sometimes causes the replication slave to stop with the following error in the SHOW SLAVE STATUS output:
Notice how the blocking_pid (the processlist id of the blocking connection) is 0.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms