Bug #56318 | Replication aborts with ER_TOO_BIG_ROWSIZE if innodb parameters don't match | ||
---|---|---|---|
Submitted: | 27 Aug 2010 1:15 | Modified: | 15 Nov 2010 14:38 |
Reporter: | Elena Stepanova | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Replication | Severity: | S3 (Non-critical) |
Version: | 5.1.50, 5.5.5-m3, 5.6.0-m4 | OS: | Any |
Assigned to: | Calvin Sun | CPU Architecture: | Any |
[27 Aug 2010 1:15]
Elena Stepanova
[5 Oct 2010 20:10]
Calvin Sun
Reverted the two default values in 5.5. Pushed into mysql-5.5-innodb tree.
[13 Oct 2010 12:34]
Jon Stephens
Documented in the 5.5.7 changelog as follows: If the master had innodb_file_per_table=OFF, innodb_file_format=Antelope (and innodb_strict_mode=OFF), or both, certain CREATE TABLE options, such as KEY_BLOCK_SIZE, were ignored. This could allow master to avoid raising ER_TOO_BIG_ROWSIZE errors. However, the ignored CREATE TABLE options were still written into the binary log, so that, if the slave had innodb_file_per_table=ON and innodb_file_format=Barracuda, it would encounter an ER_TOO_BIG_ROWSIZE error while executing the record from the log, causing the slave SQL thread to abort and replication to fail. In the case where the master was running MySQL 5.1 and the slave was MySQL 5.5 (or later), the failure occurred when both master and slave were running with default values for innodb_file_per_table and innodb_file_format. This could cause problems during upgrades. To address this issue, the default values for innodb_file_per_table and innodb_file_format are reverted to the MySQL 5.1 default values—OFF and Antelope, respectively. Also updated system variables info to show the default values changed in 5.5.0 and changed back in 5.5.7. (Not quite as simple as Luís claims in C1 above. :) ) Set NM status, waiting for merge to 5.6.
[29 Oct 2010 17:08]
Jon Stephens
Already documented in 5.5.7; still waiting for push to -trunk.
[9 Nov 2010 19:48]
Bugs System
Pushed into mysql-5.5 5.5.7-rc (revid:sunanda.menon@sun.com-20101109182959-otkxq8vo2dcd13la) (version source revid:sunanda.menon@sun.com-20101109182959-otkxq8vo2dcd13la) (merge vers: 5.5.7-rc) (pib:21)
[13 Nov 2010 16:15]
Bugs System
Pushed into mysql-trunk 5.6.99-m5 (revid:alexander.nozdrin@oracle.com-20101113155825-czmva9kg4n31anmu) (version source revid:alexander.nozdrin@oracle.com-20101113152450-2zzcm50e7i4j35v7) (merge vers: 5.6.1-m4) (pib:21)
[13 Nov 2010 16:40]
Bugs System
Pushed into mysql-next-mr (revid:alexander.nozdrin@oracle.com-20101113160336-atmtmfb3mzm4pz4i) (version source revid:vasil.dimov@oracle.com-20100629074804-359l9m9gniauxr94) (pib:21)
[15 Nov 2010 14:38]
Jon Stephens
Also documented in the 5.6.1 changelog (due to change in system variable default values). Closed.