[MDEV-6257] MariaDB 5.5 fails to start with 10.0 InnoDB log files Created: 2014-05-21 Updated: 2014-10-11 Resolved: 2014-05-22 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - InnoDB, Storage Engine - XtraDB |
| Affects Version/s: | 5.5.37 |
| Fix Version/s: | 5.5.38 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Jan Lindström (Inactive) | Assignee: | Jan Lindström (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | innodb | ||
| Description |
|
When default log file size is used database created using 10.0 fails to start using 5.5 on following message: nnoDB: Error: log file ./ib_logfile0 is of different size 0 50331648 bytes This is because in 10.0 by default log file size is 48M when 5.5 it is 5M. |
| Comments |
| Comment by Jan Lindström (Inactive) [ 2014-05-21 ] |
|
------------------------------------------------------------ Analysis: By default 10.0 creates 48M log files and 5.5 assumes they Fix: Remove the error and do size comparison later. |
| Comment by Nirbhay Choubey (Inactive) [ 2014-05-21 ] |
|
Same happens on trying to start mysql-5.5 with mysql-5.6 innodb log files. |
| Comment by Jan Lindström (Inactive) [ 2014-05-21 ] |
|
This fix should solve that also, but not tested. |
| Comment by Axel Schwenke [ 2014-05-21 ] |
|
The default log size has changed from 5.5 to 10.0. It's just one of several incompatible changes. The workaround is easy - put the log file size into my.cnf. I think the |
| Comment by Jan Lindström (Inactive) [ 2014-05-22 ] |
|
You now may open log files with different innodb_log_file_size setup. This seems not be protected. Lets get back to drawing board. |
| Comment by Jan Lindström (Inactive) [ 2014-05-22 ] |
|
revno: 4192 Analysis: Can't disable the error message because you may get database Fix: Thus only improve the error message to give more information |
| Comment by Nirbhay Choubey (Inactive) [ 2014-06-20 ] |
|
As Axel suggested, can't we make server/innodb to derive the log file size and use it, instead of just aborting? |
| Comment by Daniel Black [ 2014-10-10 ] |
|
And/or if its a clean startup move the 5M ones out of the way and create them. innodb_log_files_in_group could be derived too. |