Bug #87560 XA PREPARE log order error in replication and binlog recovery
Submitted: 28 Aug 2017 9:14 Modified: 13 Dec 2017 7:44
Reporter: Wei Zhao (OCA) Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: XA transactions Severity:S2 (Serious)
Version:mysql-5.7.17 OS:Any
Assigned to: CPU Architecture:Any
Tags: binlog, recovery, replication, xa

File: Maximum allowed size is 50MB.
Description:
Privacy:

If the data you need to attach is more than 50MB, you should create a compressed archive of the data, split it to 50MB chunks, and upload each of them as a separate attachment.

To split a large file:

[28 Aug 2017 9:15] Wei Zhao
flush engine log before writing binlog

Attachment: xa_prepare_swap_order.diff (application/octet-stream, text), 3.22 KiB.

[28 Aug 2017 9:16] Wei Zhao
recover xa transactions in binlog recovery

Attachment: recover_xa_trx_in_binlog_recovery.diff (application/octet-stream, text), 8.84 KiB.