Aria post-recovery error "Bitmap at page 0 has pages reserved outside of data file length"

Bug #814231 reported by Philip Stoev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MariaDB
Fix Released
High
Michael Widenius

Bug Description

After killing aria_read_log with kill -9 and rerunning it, aria_chk reports:

Checking Aria file: smf2/smf_log_group_requests.MAI
Data records: 270 Deleted blocks: 0
- check file-size
- check key delete-chain
- check index reference
- check data record references index: 1
- check data record references index: 2
- check records and index references
aria_chk: error: Bitmap at page 0 has pages reserved outside of data file length
State updated
Aria table 'smf2/smf_log_group_requests.MAI' is corrupted
Fix it using switch "-r" or "-o"

RQG command line:

runall.pl --queries=100000000 --queries=1M --engine=Aria --mysqld=--default-storage-engine=Aria --mysqld=--safe-mode --mysqld=--loose-debug-assert-if-crashed-table --mysqld=--sync-sys=0 --mysqld=--log-output=file --mysqld=--aria_log_purge_type=at_flush --reporters=ErrorLog,Backtrace,AriaDoubleRecovery,Shutdown --duration=120 --threads=10 --rows=10000 --mask-level=0 --mysqld=--aria-repair-threads=2 --mysqld=--loose-aria-group-commit=hard --mysqld=--loose-aria_group_commit_interval=0 --mysqld=--aria-checkpoint-interval=0 --mysqld=--aria-block-size=1K --mysqld=--table_cache=32K --mysqld=--aria-pagecache-division-limit=75 --mysqld=--aria_pagecache_age_threshold=10 --mysqld=--init-file=/home/philips/bzr/randgen-aria-recovery/conf/smf/smf2.sql --grammar=conf/smf/smf2.yy --mtr-build-thread=300 --mask=5921 --basedir1=/home/philips/bzr/maria-5.2 --seed=1311265840

Related branches

Revision history for this message
Philip Stoev (pstoev-askmonty) wrote :

The datadir is 417MB, available if needed.

Changed in maria:
milestone: none → 5.3
assignee: nobody → Michael Widenius (monty)
milestone: 5.3 → 5.2
Michael Widenius (monty)
Changed in maria:
importance: Undecided → Medium
status: New → In Progress
Revision history for this message
Michael Widenius (monty) wrote :

This was a bug in aria_chk; The file was correct.
I will push the fix to 5.1

Changed in maria:
importance: Medium → High
milestone: 5.2 → 5.1
Michael Widenius (monty)
Changed in maria:
status: In Progress → Fix Committed
Michael Widenius (monty)
Changed in maria:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.