[MDEV-20320] Tablespace flags mismatch for full_crc32 format Created: 2019-08-05 Updated: 2019-09-10 Resolved: 2019-09-10 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - InnoDB |
| Affects Version/s: | 10.4 |
| Fix Version/s: | 10.4.9 |
| Type: | Bug | Priority: | Major |
| Reporter: | Elena Stepanova | Assignee: | Thirunarayanan Balathandayuthapani |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
Crash-recovery on 10.4 from crc32 to full_crc32 or vice versa frequently brings the error messages in the error log:
As discussed with thiru, it is most likely a bogus error, and I indeed don't see any obvious problem with these tables (can SELECT, can ALTER, and the errors are only shown ones, don't re-appear after restart); but if the error message doesn't mean anything, it should be removed. To reproduce, if needed:
|
| Comments |
| Comment by Elena Stepanova [ 2019-08-11 ] | ||||||||
|
Another, scarier-looking variation of probably the same problem:
To reproduce:
It can take a while, as the command above runs the test 5 times (till the first failure) every run is ~4 min, and it doesn't always happen on the 1st attempt. | ||||||||
| Comment by Thirunarayanan Balathandayuthapani [ 2019-09-10 ] | ||||||||
|
Patch is in bb-10.4- | ||||||||
| Comment by Marko Mäkelä [ 2019-09-10 ] | ||||||||
|
The value of innodb_compression_algorithm at PAGE_COMPRESSED table creation is stored within an innodb_checksum_algorithm=full_crc32 file. We must tolerate any difference in the algorithm setting when opening a full_crc32 file. A test case that would show the server error message after server restart would fail to trigger mtr failure. Because of that, I wrote a test case that uses IMPORT. | ||||||||
| Comment by Marko Mäkelä [ 2019-09-10 ] | ||||||||
|
My enhanced test for IMPORT fails like this:
|