Bug #86078 | Bad Write Set tracking with UNIQUE KEY on a DELETE followed by an INSERT. | ||
---|---|---|---|
Submitted: | 25 Apr 2017 19:14 | Modified: | 12 Apr 2018 7:51 |
Reporter: | Jean-François Gagné | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Replication | Severity: | S2 (Serious) |
Version: | 8.0.1 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[25 Apr 2017 19:14]
Jean-François Gagné
[8 Jun 2017 6:48]
MySQL Verification Team
Hello Jean-François Gagné, Thank you for the bug report. Could you please provide exact reproducible test case, and conf file etc to reproduce this issue at our end? Thank you! regards, Umesh
[9 Jun 2017 8:56]
Jean-François Gagné
Hi Umesh, During my tests in April, I was able to reproduce the problem easily on my dataset and on my workload. As written in [1], it happened 7 times on 5M transactions in one of my 7 test environments. [1]: https://www.slideshare.net/JeanFranoisGagn/mysql-parallel-replication-logicalclock-all-the... It also happened 3 times in 10 "test runs" on SSDs and 3 times on 15 "test runs" on magnetic disks ([2]). [2]: https://www.slideshare.net/JeanFranoisGagn/mysql-parallel-replication-logicalclock-all-the... However, I was not able to reproduce this on a "test" environment: sorry. I will try to reproduce... Best regards, JFG
[15 Jun 2017 4:39]
MySQL Verification Team
Thank you Jean, verifying after confirming from Vitor to keep track of this internally. regards, Umesh
[2 Aug 2017 10:14]
Margaret Fisher
Posted by developer: Changelog entry added for MySQL 8.0.3: When write sets are used for parallelization by a replication slave (as specified by the binlog_transaction_dependency_tracking system variable), the case and accent sensitivity of the database are now taken into account when generating the write set information. Previously, duplicate keys could be incorrectly identified as different, causing transactions to have incorrect dependencies and so potentially be executed in the wrong order.
[4 Sep 2017 13:42]
Nuno Carvalho
This bug was reopen, issues were found on the solution that required to withdraw it.
[30 Oct 2017 17:12]
Margaret Fisher
Posted by developer: Reinstated earlier changelog entry as MySQL 8.0.4 - closing.
[11 Jan 2018 7:33]
Jean-François Gagné
Related: Bug#89141.
[12 Jan 2018 15:58]
Jean-François Gagné
Related: Bug#89194.
[10 Apr 2018 7:35]
Margaret Fisher
Posted by developer: Changelog entry marked for 5.7.22.
[12 Apr 2018 7:51]
Jean-François Gagné
See Bug#88120 for the 5.7 details.