ma_blockrec.c:3932: _ma_update_at_original_place: Assertion `blocks->count > 1 || ((new_row->total_length) > (share->base.min_block_length) ? (new_row->total_length) : (share->base.min_block_length)) <= length_on_head_page' on Aria recovery

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

Bug Description

When using maria_read_log to recover from an empty datadir, maria_read_log reported the following:

The transaction log starts from lsn (1,0x2007)
TRACE of the last maria_read_log
/home/buildbot/rqg-buildbot-slave/rqg-weekend/build/mysql-test//../storage/maria/maria_read_log: Maria engine: starting recovery
recovered pages: 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100% (16.1 seconds); transactions to roll back: 1maria_read_log: ma_blockrec.c:3932: _ma_update_at_original_place: Assertion `blocks->count > 1 || ((new_row->total_length) > (share->base.min_block_length) ? (new_row->total_length) : (share->base.min_block_length)) <= length_on_head_page' failed.

bzr version-info:

revision-id: <email address hidden>
date: 2010-09-10 02:42:12 +0300
build-date: 2010-09-10 17:06:05 +0300
revno: 2928
branch-nick: 5.1

RQG command line:

/home/buildbot/randgen/runall.pl \
--queries=1M \
--engine=Maria \
--mysqld=--safe-mode \
--mysqld=--sync-sys=0 \
--mysqld=--log-output=file \
--mysqld=--maria_log_purge_type=at_flush \
--reporters=ErrorLog,Backtrace,Recovery,Shutdown \
--duration=30 \
--threads=10 \
--rows=10000 \
--mask-level=2 \
--mysqld=--loose-maria-group-commit=hard \
--mysqld=--loose-maria_group_commit_interval=0 \
--mysqld=--maria-checkpoint-interval=120 \
--mysqld=--maria-block-size=4K \
--mask=14207 \
--queries=100000000 \
--mask=14207 \
--seed=time \
--basedir=. \
--vardir=/home/buildbot/rqg-buildbot-slave/rqg-weekend/vardir-maria_recovery_weekend/current \
--grammar=conf/engines/varchar.yy \
--gendata=conf/engines/varchar.zz

Tags: rqg aria recovery
Revision history for this message
Philip Stoev (pstoev-askmonty) wrote :
Changed in maria:
importance: Undecided → High
assignee: nobody → Michael Widenius (monty)
Revision history for this message
Philip Stoev (pstoev-askmonty) wrote :

Still repeatable with

revision-id: <email address hidden>
date: 2010-09-28 18:47:23 +0200
build-date: 2010-10-02 11:19:54 +0300
revno: 2872
branch-nick: 5.2
------------------------------------------------------------
revno: 2872
committer: Sergei Golubchik <email address hidden>
branch nick: 5.2
timestamp: Tue 2010-09-28 18:47:23 +0200
message:
  fixes for gcc 4.5

Michael Widenius (monty)
Changed in maria:
status: New → In Progress
Michael Widenius (monty)
Changed in maria:
status: In Progress → Fix Committed
Revision history for this message
Michael Widenius (monty) wrote :

This issue should be fixed by my 2 latest pushes to 5.1
(I have run the test case for several hours without any failures).

Changed in maria:
milestone: none → 5.1
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.