[MDEV-12975] InnoDB redo log minimum size check uses detected file size instead of requested innodb_log_file_size Created: 2017-06-02 Updated: 2017-06-19 Resolved: 2017-06-19 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Backup, Storage Engine - InnoDB, Storage Engine - XtraDB |
| Affects Version/s: | 10.0, 10.1.24, 10.2, 10.3 |
| Fix Version/s: | 10.1.25, 10.0.32, 10.2.7, 10.3.1 |
| Type: | Bug | Priority: | Major |
| Reporter: | Andrii Nikitin (Inactive) | Assignee: | Marko Mäkelä |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||||||
| Description |
|
|
| Comments |
| Comment by Andrii Nikitin (Inactive) [ 2017-06-02 ] | ||||||||||||||||||||||||||
|
not sure if it | ||||||||||||||||||||||||||
| Comment by Marko Mäkelä [ 2017-06-19 ] | ||||||||||||||||||||||||||
|
The problem appears to be that the srv_log_file_size is measured from the xtrabackup_logfile, not from the actual requested configuration. Later during the startup, the redo log file would be resized, but the capacity check is wrongly based on the initially measured file size. | ||||||||||||||||||||||||||
| Comment by Marko Mäkelä [ 2017-06-19 ] | ||||||||||||||||||||||||||
|
I can repeat this in 10.0:
This bug should be present in MySQL as well. I did not think of this case when implementing InnoDB redo log resizing in MySQL 5.6.8. | ||||||||||||||||||||||||||
| Comment by Marko Mäkelä [ 2017-06-19 ] | ||||||||||||||||||||||||||
|
Note: the formula stated in the error message is inaccurate. Also note that the calculation depends on innodb_page_size, so with innodb_page_size=64k the minimum innodb_log_file_size is roughly 4 times the minimum size required for innodb_page_size=16k for the same innodb_thread_concurrency. |