Replication Fails After XA Transaction Encounters Lock Wait Timeout Or Deadlock: "Error 'XAER_RMFAIL: The command cannot be executed when global transaction is in the ACTIVE state' on query. Default database: 'db1'. Query: 'XA START X'31',X'',1'"
Last updated on MAY 31, 2017
Applies to:MySQL Server - Version 5.7 and later
Information in this document applies to any platform.
When attempting to use XA transactions on the master, the following error occurs on the replication slave:
The replication slave is using MySQL Server 5.7.16 or earlier.
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