Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-19813

Aria crash recovery failures

    XMLWordPrintable

    Details

      Description

      We have a number of bug reports related to Aria recovery problems, with different representation of said problems. After the first analysis performed by Monty on some of them, it appears they have a lot of common, first of all the fact that even though the data directory on which the recovery issue can be reproduced is available, it is not sufficient for fixing the issue, and a complete test case causing the initial corruption is needed. These test cases are concurrent and non-deterministic by nature, and quite often by just re-running the same test, we hit various representations of the recovery problem. Thus, i think it makes sense to group all these issues together, as one fix is likely to fix several bugs, and at the same time, while working on one bug, developers/testers are likely to have to deal with other ones.

      Actual bug reports are to be made subtasks of this one. They will be handled and closed as normal bug reports. The umbrella report will stay open until there are no open subtasks left.

      Examples of observed recovery issues from the subtasks:

      MDEV-18310

      Got error 121 when executing undo undo_key_delete
      

      MDEV-18203

      Got error 126 when executing undo undo_key_insert
      

      MDEV-20578

      Got error 126 when executing undo undo_key_delete
      

      MDEV-18187

      2019-01-09 16:00:40 0 [ERROR] mysqld: failed to decrypt './test/t7'  rc: -1  dstlen: 0  size: 4294967275
       Got error 192 when executing record redo_index_new_page
      

      MDEV-17912

      2018-12-05 18:38:33 0 [ERROR] mysqld: failed to decrypt './test/oltp46'  rc: -1  dstlen: 0  size: 8172
      Got error 192 when executing record redo_new_row_head
      

      MDEV-19576

      Got error 175 when executing record redo_index
      

      MDEV-19576

      Got error 175 when executing undo undo_row_insert
      

      MDEV-19718

      mysqld: /data/src/10.3/storage/maria/ma_blockrec.c:6358: _ma_apply_redo_insert_row_head_or_tail: Assertion `rownr == 0 && new_page' failed.
      

      MDEV-18461

      mysqld: /data/src/10.4/storage/maria/ma_loghandler.c:3862: translog_init_with_table: Assertion `sure_page <= last_page' failed.
      

      MDEV-18461

      mysqld: /home/travis/src/storage/maria/ma_blockrec.c:2879: write_block_record: Assertion `undo_lsn == ((LSN)1) || head_length == row_pos->length' failed.
      

      MDEV-18461

      Got error 176 when executing record redo_insert_row_head
      

      MDEV-20132

      Assertion `info->new_row.checksum == (*share->calc_checksum)(info, current_record)' failed
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              elenst Elena Stepanova
              Reporter:
              elenst Elena Stepanova
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated: