Bug #98616 | XA PREPARE/XA COMMIT/XA ROLLBACK lost if mysql crash just after binlog flush | ||
---|---|---|---|
Submitted: | 15 Feb 2020 15:20 | Modified: | 22 Feb 2020 7:20 |
Reporter: | dennis gao | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Server: XA transactions | Severity: | S3 (Non-critical) |
Version: | 5.7.29 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
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:
- On *nix platforms use the split command e.g.
split -b 50MB <my_large_archive> <my_split_archive_prefix>
- On windows use WinZip or a similar utility to split the large file
[15 Feb 2020 15:52]
dennis gao
[16 Feb 2020 16:26]
dennis gao
Patch with test case file.
Attachment: xa_recover_bugs_for_prepare_commit_rollback-v5.diff (text/x-patch), 28.47 KiB.
[16 Feb 2020 16:31]
dennis gao
Plz ignore the previous patch, and check this one for test case file.
Attachment: xa_recover_bugs_for_prepare_commit_rollback-v6.diff (text/x-patch), 38.29 KiB.
[5 Mar 2020 11:36]
dennis GAO
The patch after the approved of OCA
Attachment: xa_recover_bugs_for_prepare_commit_rollback-v7.diff (text/x-patch), 38.49 KiB.
[7 Mar 2020 5:25]
dennis GAO
Fix some mistake
Attachment: xa_recover_bugs_for_prepare_commit_rollback-v8.diff (text/x-patch), 38.87 KiB.