Bug #99205 xa prepare write binlog while execute failed
Submitted: 8 Apr 2020 1:36 Modified: 8 Apr 2020 11:18
Reporter: phoenix Zhang (OCA) Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: XA transactions Severity:S2 (Serious)
Version:8.0.18, 8.0.19 OS:Any
Assigned to: CPU Architecture:Any
Tags: group_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:

[8 Apr 2020 1:37] phoenix Zhang
i add a test-case about this bug.  run it with command: ./mtr group_replication.gr_xa_prepare_bug --nocheck-testcase

Attachment: gr_xa_prepare_bug.test (application/octet-stream, text), 1.37 KiB.

[8 Apr 2020 10:24] phoenix Zhang
this patch can repeat the problem without group_replicaiton.   run  ./mtr main.xa_prepare_bug --nocheck-testcase

Attachment: xa_prepare_bug.diff (text/x-patch), 1.15 KiB.