Bug #34600 | Rolled-back punch transactions not replicated correctly | ||
---|---|---|---|
Submitted: | 15 Feb 2008 16:27 | Modified: | 11 Nov 2009 19:10 |
Reporter: | Sven Sandberg | Email Updates: | |
Status: | Can't repeat | Impact on me: | |
Category: | MySQL Server: Replication | Severity: | S3 (Non-critical) |
Version: | 5.1 | OS: | Any |
Assigned to: | Alfranio Tavares Correia Junior | CPU Architecture: | Any |
Tags: | mixed engines, punch transaction, replication |
[15 Feb 2008 16:27]
Sven Sandberg
[15 Feb 2008 17:24]
Susanne Ebrecht
Verified as described.
[11 Nov 2009 19:09]
Alfranio Tavares Correia Junior
The problem reported in BUG#34600 does not happen in 5.1.41 after BUG#47287. Let's consider the same example reported by [15 Feb 2008 17:27] Sven Sandberg: BEGIN; modify table_1 modify table_2 ROLLBACK; The binary log would have what follows for both ROW and STATEMENT: modify table_1 BEGIN; modify table_2 ROLLBACK; However, the following example is still not handled correctly in 5.1.41: BEGIN; modify table_2 modify table_1 ROLLBACK; The binary log would have what follows for both ROW and STATEMENT: BEGIN; modify table_2 modify table_1 ROLLBACK; The sequence of events in the binary log is wrong as the locks on the table_1 (my_isam) are released as soon as the statement is executed. This last case is only fixed in rep+3 after WL#2687.
[11 Nov 2009 19:10]
Alfranio Tavares Correia Junior
Closing as can't repeat due to the explanation above.