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: | |
Category: | MySQL Server: XA transactions | Severity: | S3 (Non-critical) |
Version: | 5.7.26 | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | replication, xa |
[20 Jan 2020 0:57]
phoenix Zhang
[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.
[24 Jan 2020 13:19]
MySQL Verification Team
Hi, Thanks for the report. This one was easy to reproduce, I appreciate the test case. If you did not already signed OCA: In order to submit contributions you must first sign the Oracle Contribution Agreement (OCA). For additional information please check http://www.oracle.com/technetwork/community/oca-486395.html. If you have any questions, please contact the MySQL community team. much appreciated Bogdan
[12 Feb 2020 13:00]
Ståle Deraas
Posted by developer: This is a duplicate to the effect that "XA statements are not atomic in the server (engine + binlog)".
[13 Feb 2020 8:23]
Erlend Dahl
Duplicate of Bug#76233 XA prepare is logged ahead of engine prepare