[MDEV-3485] LP:632963 - ma_blockrec.c:6351: _ma_apply_redo_insert_row_head_or_tail: Assertion `0' failed during Aria recovery Created: 2010-09-08  Updated: 2015-02-02  Resolved: 2012-10-04

Status: Closed
Project: MariaDB Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Philip Stoev (Inactive) Assignee: Michael Widenius
Resolution: Fixed Votes: 0
Labels: Launchpad

Attachments: XML File LPexportBug632963.xml     Zip Archive LPexportBug632963_var-bug632963.zip    

 Description   

maria_read_log produced the following error:

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%maria_read_log: ma_blockrec.c:6351: _ma_apply_redo_insert_row_head_or_tail: Assertion `0' failed.

rqg command line:

  1. 2010-09-07T16:09:37 # /home/buildbot/randgen/runall.pl \
  2. 2010-09-07T16:09:37 # --queries=1M \
  3. 2010-09-07T16:09:37 # --engine=Maria \
  4. 2010-09-07T16:09:37 # -mysqld=-log-output=file \
  5. 2010-09-07T16:09:37 # --reporters=ErrorLog,Backtrace,Recovery,Shutdown \
  6. 2010-09-07T16:09:37 # --duration=240 \
  7. 2010-09-07T16:09:37 # --threads=10 \
  8. 2010-09-07T16:09:37 # --rows=10 \
  9. 2010-09-07T16:09:37 # --mask-level=1 \
  10. 2010-09-07T16:09:37 # -mysqld=-loose-maria-group-commit=soft \
  11. 2010-09-07T16:09:37 # -mysqld=-loose-maria_group_commit_interval=1 \
  12. 2010-09-07T16:09:37 # -mysqld=-maria-checkpoint-interval=0 \
  13. 2010-09-07T16:09:37 # -mysqld=-maria-block-size=4K \
  14. 2010-09-07T16:09:37 # --grammar=conf/engines/varchar.yy \
  15. 2010-09-07T16:09:37 # --gendata=conf/engines/varchar.zz \
  16. 2010-09-07T16:09:37 # --mask=16255 \
  17. 2010-09-07T16:09:37 # --queries=100000000 \
  18. 2010-09-07T16:09:37 # --mask=16255 \
  19. 2010-09-07T16:09:37 # --basedir=. \
  20. 2010-09-07T16:09:37 # --seed=time \
  21. 2010-09-07T16:09:37 # --vardir=/home/buildbot/rqg-buildbot-slave/rqg-weekend/vardir-maria_recovery_weekend/current

bzr version-info:

revision-id: <email address hidden>
date: 2010-09-06 02:48:51 +0300
build-date: 2010-09-08 10:30:40 +0300
revno: 2922
branch-nick: 5.1



 Comments   
Comment by Philip Stoev (Inactive) [ 2010-09-08 ]

Re: ma_blockrec.c:6351: _ma_apply_redo_insert_row_head_or_tail: Assertion `0' failed during Aria recovery

Comment by Philip Stoev (Inactive) [ 2010-09-08 ]

datadir, logs, etc.
LPexportBug632963_var-bug632963.zip

Comment by Philip Stoev (Inactive) [ 2010-09-09 ]

Re: ma_blockrec.c:6351: _ma_apply_redo_insert_row_head_or_tail: Assertion `0' failed during Aria recovery
Still repeatable with

revision-id: monty@askmonty.org-20100907165839-hbgfbzsuytbxtzn2
date: 2010-09-07 19:58:39 +0300
build-date: 2010-09-09 10:35:46 +0300
revno: 2924
branch-nick: 5.1

Comment by Michael Widenius [ 2011-02-03 ]

Re: ma_blockrec.c:6351: _ma_apply_redo_insert_row_head_or_tail: Assertion `0' failed during Aria recovery
Did run the given test case for 12 hours without problems.
I also downloaded the test data and run maria_read_log -a -s on it without any probelms.
As I have fixed a lot of related things lately, I have to assume this bug is also fixed.

Comment by Rasmus Johansson (Inactive) [ 2011-03-01 ]

Launchpad bug id: 632963

Generated at Thu Feb 08 06:48:59 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.