Not Possible to Shut Down Replication Slave After Replication Stopped With: "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 MARCH 08, 2017
Applies to:MySQL Server - Version 5.7 and later
Information in this document applies to any platform.
After encountering the replication error:
and before restarting replication, attempting to shut down the replication slave never completes.
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