[MDEV-9256] aria_chk does not repair tables Created: 2015-12-09 Updated: 2021-09-04 Resolved: 2016-06-14 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Platform Windows, Storage Engine - Aria |
| Affects Version/s: | 10.0.16, 5.5, 10.0 |
| Fix Version/s: | 5.5.50, 10.0.26, 10.1.15 |
| Type: | Bug | Priority: | Major |
| Reporter: | Raphael H. | Assignee: | Vladislav Vaintroub |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | ulong | ||
| Environment: |
Windows 2008 R2 64Bit |
||
| Issue Links: |
|
||||||||
| Description |
|
If we repair the table(s) and start the database, it works until someone tries to access a corrupt row. Then we can repair again but then again as someone tries to access a corrupt row it crashes again. We tried to repair it using aria_chk with every possible method/option and afterwards trying to do a mysqldump but it just crashes after reaching some row. The error we get from mysqldump: G:\MariaDB\bin>mysqldump greyhound items_protocols -u root > items_protocols.txt We even tried to delete those rows or exclude them using a where clause with the mysqldump command. Here the create table statement:
And our my.ini:
Any suggestions what we could try other than we already did? |
| Comments |
| Comment by Elena Stepanova [ 2015-12-16 ] | |||||||||||||||||||||||||||||||||||||||||||
|
Hi, Does the table contain confidential information? Would you be able to upload it (all three files .frm, MAI, MAD) to ftp.askmonty.org/private? | |||||||||||||||||||||||||||||||||||||||||||
| Comment by Raphael H. [ 2015-12-17 ] | |||||||||||||||||||||||||||||||||||||||||||
|
I just uploaded the files. | |||||||||||||||||||||||||||||||||||||||||||
| Comment by Raphael H. [ 2016-02-29 ] | |||||||||||||||||||||||||||||||||||||||||||
|
Any news regarding this ticket? | |||||||||||||||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2016-03-03 ] | |||||||||||||||||||||||||||||||||||||||||||
|
Thanks for the data. I was able to reproduce the problem. The culprit is aria_pagecache_buffer_size value. RaphaelH, as a workaround, please try to reduce the value to something not bigger than 4G. When it exceeds 4260M, bad things start happening.
On some reason, I cannot reproduce it on MariaDB 10.1, only 5.5 and 10.0 are affected. Maybe it was fixed, maybe not. If it's indeed fixed in 10.1, I'm not sure we must backport the fix to 10.0, as there is a viable workaround – use a smaller value of the option (if you think we should backport anyway, please do so). But if it's still in 10.1, just does not cause visible problems on whatever reason, it definitely needs fixing. To reproduce:
| |||||||||||||||||||||||||||||||||||||||||||
| Comment by Raphael H. [ 2016-03-07 ] | |||||||||||||||||||||||||||||||||||||||||||
|
Setting aria_pagecache_buffer_size to 4G seems to work. Thanks for your help! | |||||||||||||||||||||||||||||||||||||||||||
| Comment by Vladislav Vaintroub [ 2016-06-14 ] | |||||||||||||||||||||||||||||||||||||||||||
|
pushed to 5.5 , serious |