Table is marked as crashed and should be repaired after Aria recovery
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MariaDB |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When recovering from a DML scenario, the server reported the following:
# 2010-08-28T12:13:14 100828 12:13:14 [ERROR] mysqld: Table './smf2/
# 2010-08-28T12:13:14 100828 12:13:14 [Warning] Checking table: './smf2/
Such automatic repair is only permissible when recovering from an ALTER TABLE, which is not the case in this scenario.
RQG command line:
perl runall-new.pl --basedir=
bzr version-info:
revision-id: <email address hidden>
date: 2010-08-25 01:47:52 +0300
build-date: 2010-08-28 12:18:24 +0300
revno: 2848
branch-nick: maria-5.2
Changed in maria: | |
status: | New → Incomplete |
Changed in maria: | |
milestone: | none → 5.1 |
status: | New → In Progress |
This bug is still repeatable after the following fix:
revno: 2929
committer: Michael Widenius <email address hidden>
branch nick: maria-5.1
timestamp: Fri 2010-09-10 23:27:26 +0300
message:
Fix for LP#634943 "marked as crashed", "zerofilling" and "wrong data in bitmap" when recovering Aria tables
This was an interaction of several bugs:
- Tables marked as opened was not properly unmarked on recovery if there was not changes since checkpoint
- zerofill of tables put wrong data in bitmap if directory for page was full
- Tables was thought as 'moved' during recovery if they had a create_lsn bigger than the lsn in the control file.
The .sql and the .yy file are available at hasky.askmonty. org:/home/ philips/bug625739