Aria recovery assertion ma_recovery.c:2959: get_MARIA_HA_from_REDO_record: Assertion `((rec->lsn) - (checkpoint_start)) < 0'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MariaDB |
New
|
Undecided
|
Michael Widenius |
Bug Description
When recovering from a DML workload, aria asserted as follows:
recovered pages: 0% 10% 20%mysqld: ma_recovery.c:2959: get_MARIA_
rqg command line :
perl runall.pl --basedir=
bzr version-info
revision-id: <email address hidden>
date: 2010-08-25 01:47:52 +0300
build-date: 2010-08-28 11:54:04 +0300
revno: 2848
branch-nick: maria-5.2
tags: | added: assertion |
Backtrace:
#8 0x0046bd98 in __assert_fail () from /lib/libc.so.6 HA_from_ REDO_record (rec=0xbfc76640) at ma_recovery.c:2959 LOGREC_ REDO_INSERT_ ROW_HEAD (rec=0xbfc76640) at ma_recovery.c:1368 and_apply_ record (log_desc= 0x9285578, rec=0xbfc76640) at ma_recovery.c:551 LOG_APPLY) at ma_recovery.c:2563 4294975495, end_lsn=0, apply=MARIA_ LOG_APPLY, trace_file= 0xa6c1810, should_ run_undo_ phase=1 '\001', count=0xbfc791f 4) at ma_recovery.c:324 from_log () at ma_recovery.c:221 handlerton (plugin=0xa6b3dc0) at handler.cc:431 components () at mysqld.cc:4175
#9 0x085b4ac6 in get_MARIA_
#10 0x085b0f76 in exec_REDO_
#11 0x085af1b5 in display_
#12 0x085b3cae in run_redo_phase (lsn=4294975495, lsn_end=0, apply=MARIA_
#13 0x085aeb36 in maria_apply_log (from_lsn=
skip_DDLs_arg=1 '\001', take_checkpoints=1 '\001', warnings_
#14 0x085ae7e8 in maria_recovery_
#15 0x085319e9 in ha_maria_init (p=0xa6cda78) at ha_maria.cc:3295
#16 0x083a3961 in ha_initialize_
#17 0x08461b89 in plugin_initialize (plugin=0xa6b3dc0) at sql_plugin.cc:1239
#18 0x084623ab in plugin_init (argc=0x8a6e718, argv=0xa67b3c0, flags=0) at sql_plugin.cc:1467
#19 0x08271761 in init_server_
#20 0x08272227 in main (argc=14, argv=0xbfc797f4) at mysqld.cc:4649
Note that the RQG was run with --mem, and it is possible that the test ran out of disk space at some point.