[MDEV-23474] InnoDB fails to start with Invalid log block checksum after unsetting innodb_log_checksums dynamically Created: 2020-08-13 Updated: 2020-10-06 Resolved: 2020-08-18 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - InnoDB |
| Affects Version/s: | 10.2, 10.3, 10.4 |
| Fix Version/s: | 10.2.35, 10.3.26, 10.4.16 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Elena Stepanova | Assignee: | Marko Mäkelä |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | not-10.5 | ||
| Issue Links: |
|
||||||||||||
| Description |
|
Setting to Minor because the variable has been deprecated in 10.5. However, it is useful to have it at least filed, if not fixed, in case we get complaints of a similar kind from users who wouldn't be able to provide the exact sequence of events prior to the problem.
The above minimal test case is only applicable to MTR, but originally the similar problem was observed on a server bootstrapped and started without MTR. |
| Comments |
| Comment by Marko Mäkelä [ 2020-08-14 ] |
|
I regret that I did not remove the parameter before the MySQL 5.7.9 GA release, related to As part of that change, I modified a parameter that had been added earlier:
I was thinking to close this bug as “won’t fix”, but then I got a second thought that maybe we should just deprecate and partly ignore that harmful parameter. (Partly ignore, as in, always compute CRC-32C checksums writing log. But, we must obey this parameter when parsing the log.) Given that the CRC-32C operations are accelerated on many processor platforms (AMD64 with SSE4.2; since In MariaDB 10.5.2, as a preparation for The problematic parameter (originally called innodb_log_checksum_algorithm) first appeared in MySQL 5.7.8. This patch did both good and bad: it allowed the original unsafe and slow innodb checksum algorithm to be replaced with CRC-32C, but it also allowed redo log checksums to be disabled altogether. Because the InnoDB changes from MySQL 5.7 were first applied to MariaDB Server in version 10.2, earlier versions are not affected. |