[MDEV-6914] starting from 10.0.14 unmotivated "Row size too large (> 8126)..." on longtext Created: 2014-10-22 Updated: 2014-11-11 Resolved: 2014-10-23 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - InnoDB |
| Affects Version/s: | 10.0.14, 10.1.1 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Denis Kaganovich | Assignee: | Elena Stepanova |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | upstream | ||
| Attachments: |
|
| Description |
|
starting from 10.0.14 (current git affected, 10.0.13 - no) unmotivated "Row size too large (> 8126)..." on longtext on dump-reload existing db. Full message: Attaching extracted part of dump, producing this. This is not longest string, even smaller was loades. Just bug. |
| Comments |
| Comment by Elena Stepanova [ 2014-10-23 ] | ||||||||||||||||||||||
|
Hi Denis, Please attach your cnf file(s) or output of SHOW VARIABLES from any of the servers where you are getting the error. Thanks. | ||||||||||||||||||||||
| Comment by Elena Stepanova [ 2014-10-23 ] | ||||||||||||||||||||||
|
Thank you, it helps. | ||||||||||||||||||||||
| Comment by Denis Kaganovich [ 2014-10-23 ] | ||||||||||||||||||||||
|
Thanks, it works (innodb_log_file_size=64M). But still keep in mind there are dangerous versions, while cannot reload some dump... | ||||||||||||||||||||||
| Comment by Elena Stepanova [ 2014-10-23 ] | ||||||||||||||||||||||
|
I'm not saying it's not a bug, just suggesting a workaround. | ||||||||||||||||||||||
| Comment by Elena Stepanova [ 2014-10-23 ] | ||||||||||||||||||||||
|
I found the revision that caused it, and the change appears to be intentional:
Your data is some 770 Kb, the log file is 5 Mb, so it all fits. I don't think ti's wise to change the behavior in MariaDB, it will probably cause more incompatibility than it solves. If you feel strong about it, please try to report it upstream at bugs.mysql.com, and if they decide to fix it we'll merge. If you do so, please comment here so that we re-open this issue and keep it open until the fix arrives. | ||||||||||||||||||||||
| Comment by Denis Kaganovich [ 2014-10-24 ] | ||||||||||||||||||||||
|
Yes, also I see - it is fixed unlimited upstream in 5.7. So, just hope to mering 5.7. | ||||||||||||||||||||||
| Comment by Meik Suchlich [ 2014-11-11 ] | ||||||||||||||||||||||
|
In which Version will the fix be available? | ||||||||||||||||||||||
| Comment by Elena Stepanova [ 2014-11-11 ] | ||||||||||||||||||||||
|
Whichever major version declares inclusion of InnoDB 5.7 should have it. | ||||||||||||||||||||||
| Comment by Meik Suchlich [ 2014-11-11 ] | ||||||||||||||||||||||
|
well, that's very bad, because the bug is in actual release. How can we work around it? | ||||||||||||||||||||||
| Comment by Meik Suchlich [ 2014-11-11 ] | ||||||||||||||||||||||
|
can someone put the reference to the mysql-bug in here. | ||||||||||||||||||||||
| Comment by Elena Stepanova [ 2014-11-11 ] | ||||||||||||||||||||||
|
If you read previous comments, specifically the commit comment for the upstream revision, you'll see that it was an intentionally introduced limitation. My guess is that's what the InnoDB team had to come up with in order to fix the recovery crash without making too intrusive changes in a post-GA version. That said, it looks like in InnoDB 5.6.22 the limitation is a bit relaxed (although not completely removed like in 5.7). InnoDB 5.6.22 will most likely be in 10.0.16 – doubt it will make it to 10.0.15 since 5.6.22 has not been released yet.. The upstream bug they were solving is http://bugs.mysql.com/bug.php?id=69477 | ||||||||||||||||||||||
| Comment by Meik Suchlich [ 2014-11-11 ] | ||||||||||||||||||||||
|
Is there a chance to get back to 10.0.13 (with debian/ubuntu repository?) or is the bug in there to? | ||||||||||||||||||||||
| Comment by Elena Stepanova [ 2014-11-11 ] | ||||||||||||||||||||||
|
You can find 10.0.13 in the repo, e.g. ftp://ftp.osuosl.org/pub/mariadb/mariadb-10.0.13/repo/ (the repo that you are using is likely to have a similar path). | ||||||||||||||||||||||
| Comment by Meik Suchlich [ 2014-11-11 ] | ||||||||||||||||||||||
|
which log_file_size should we set? | ||||||||||||||||||||||
| Comment by Elena Stepanova [ 2014-11-11 ] | ||||||||||||||||||||||
|
The max allowed value for innodb_log_file_size is 512GB / innodb_log_files_in_group , so you have enough room for the maneuver. |