Bug #87393 xa rollback with wrong xid will be recorded into the binlog
| Submitted: | 11 Aug 2017 8:58 | Modified: | 29 Sep 2017 11:20 |
|---|---|---|---|
| Reporter: | HongXiang Jiang (OCA) | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | MySQL Server: XA transactions | Severity: | S2 (Serious) |
| Version: | 5.7.19 | OS: | Linux |
| Assigned to: | CPU Architecture: | Any | |
| Tags: | binlog, XA ROLLBACK | ||
[11 Aug 2017 8:58]
HongXiang Jiang
[11 Aug 2017 10:46]
HongXiang Jiang
patched on mysql-5.7.19, please review it (*) I confirm the code being submitted is offered under the terms of the OCA, and that I am authorized to contribute it.
Contribution: xa_rollback_fix.patch (application/octet-stream, text), 1.07 KiB.
[11 Aug 2017 13:41]
MySQL Verification Team
Hi! I have run the same transaction and you and got the same result. I also think that your patch is correct. Verified.
[29 Sep 2017 11:20]
Margaret Fisher
Posted by developer: Changelog entry added for MySQL 8.0.4 and 5.7.21: XA ROLLBACK statements that failed because an incorrect transaction ID was given, could be recorded in the binary log with the correct transaction ID, and could therefore be actioned by replication slaves. A check is now made for the error situation before binary logging takes place, and failed XA ROLLBACK statements are not logged.
[7 Nov 2017 8:56]
Venkatesh Duggirala
Post by Developer: ================== Bug#88358 is marked as duplicate of this bug Regards, Venkatesh.
[18 May 2018 7:36]
MySQL Verification Team
Bug #90928 marked as duplicate of this one
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.082 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.