Details
-
Bug
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
10.11
Description
While testing MDEV-40728, mleich provided an rr replay trace from which I extracted data.tar.xz
on which crash recovery will fail:
tar xJf data.tar.xz
|
sql/mariadbd --innodb-page-size=4k --datadir "$PWD"/data
|
|
10.11 6415902490b1b0a9a500cee9bc0a41c342190605 |
mariadbd: …/storage/innobase/os/os0file.cc:1390: bool os_file_rename_func(const char*, const char*): Assertion `!exists' failed.
|
#6 __assert_fail (assertion=..., file=..., line=..., function=...) at ./assert/assert.c:37
|
#7 0x000055555635e48e in os_file_rename_func (oldpath=..., newpath=...) at …/storage/innobase/os/os0file.cc:1390
|
#8 0x0000555556351405 in mtr_t::commit_file (this=..., space=..., name=...) at …/storage/innobase/mtr/mtr0mtr.cc:698
|
#9 0x00005555565013fd in fil_space_t::rename (this=..., path=..., log=..., replace=...) at …/storage/innobase/fil/fil0fil.cc:1832
|
#10 0x00005555564cf922 in dict_table_t::rename_tablespace (this=..., new_name=..., replace=...) at …/storage/innobase/dict/dict0dict.cc:1483
|
#11 0x0000555556554e65 in row_undo_ins_parse_undo_rec (node=..., dict_locked=...) at …/storage/innobase/row/row0uins.cc:434
|
#12 0x0000555556555f3a in row_undo_ins (node=..., thr=...) at …/storage/innobase/row/row0uins.cc:575
|
#13 0x000055555640bd29 in row_undo (node=..., thr=...) at …/storage/innobase/row/row0undo.cc:401
|
#14 0x000055555640c526 in row_undo_step (thr=...) at …/storage/innobase/row/row0undo.cc:442
|
#15 0x000055555638c0c8 in que_thr_step (thr=...) at …/storage/innobase/que/que0que.cc:551
|
#16 0x000055555638c1c3 in que_run_threads_low (thr=...) at …/storage/innobase/que/que0que.cc:609
|
#17 0x000055555638c389 in que_run_threads (thr=...) at …/storage/innobase/que/que0que.cc:629
|
#18 0x00005555564401a3 in trx_rollback_active (trx=...) at …/storage/innobase/trx/trx0roll.cc:307
|
#19 0x0000555556441481 in trx_rollback_recovered (all=...) at …/storage/innobase/trx/trx0roll.cc:447
|
#20 0x0000555556424811 in srv_start (create_new_db=...) at …/storage/innobase/srv/srv0start.cc:1770
|
#21 0x0000555556282c0e in innodb_init (p=...) at …/storage/innobase/handler/ha_innodb.cc:4186
|
Attachments
Issue Links
- relates to
-
MDEV-40728 Recovery wrongly fails if FILE_CREATE is followed by FILE_RENAME
-
- Closed
-