Bug #98288 xa commit crash lead mysql replication error
Submitted: 20 Jan 2020 0:57 Modified: 13 Feb 2020 8:23
Reporter: phoenix Zhang (OCA) Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Server: XA transactions Severity:S3 (Non-critical)
Version:5.7.26 OS:Any
Assigned to: CPU Architecture:Any
Tags: 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:

[20 Jan 2020 1:01] phoenix Zhang
Here is my patch to do auto recover when mysqld restart. Do commit when engine prepared, and write XA COMMIT event in binlog

Attachment: xa_commit_recover.diff (text/x-patch), 9.55 KiB.