Bug #99051 | XA commit may do engine commit before MYSQL_BIN_LOG::ordered_commit | ||
---|---|---|---|
Submitted: | 24 Mar 2020 11:03 | Modified: | 20 Apr 2021 16:02 |
Reporter: | dennis GAO (OCA) | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: XA transactions | Severity: | S3 (Non-critical) |
Version: | 5.7.25 | OS: | Ubuntu (18.04.4 LTS) |
Assigned to: | CPU Architecture: | x86 | |
Tags: | Contribution |
[24 Mar 2020 11:03]
dennis GAO
[24 Mar 2020 11:13]
dennis GAO
adding the patch as contribution (*) I confirm the code being submitted is offered under the terms of the OCA, and that I am authorized to contribute it.
Contribution: ensure_binlog_plugin_first-v4.diff (text/x-patch), 4.44 KiB.
[26 Mar 2020 7:25]
MySQL Verification Team
Hello dennis GAO, Thank you for the report and contribution. regards, Umesh
[16 Apr 2021 14:11]
Ståle Deraas
The suggested fix was implemented as part of the Clone work which was released in 8.0.18. Change was part of commit 951464867b53c12d5430f8f6b2d0e50bd849bb8d Author: Debarun Banerjee <debarun.banerjee@oracle.com> Date: Fri May 10 20:28:59 2019 +0530
[20 Apr 2021 16:02]
Paul DuBois
Posted by developer: Fixed in 8.0.18. For XA COMMIT statements, invocation order of the plugins involved in statement execution was nondeterministic, which could lead to replication problems. Thanks to Dennis Gao for contributing a fix.