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

Assertion `!recv_sys->mlog_checkpoint_lsn || *space == TRX_SYS_SPACE || srv_is_undo_tablespace(*space) || it != recv_spaces.end()' failed in recv_parse_log_rec upon prepare from a full backup

    XMLWordPrintable

Details

    Description

      bb-10.2-MDEV-18194 de7408ec8adf78d7e5b6fd6a30feaa8b2f0dc350

      mariabackup: /home/travis/src/storage/innobase/log/log0recv.cc:2412: ulint recv_parse_log_rec(mlog_id_t*, byte*, byte*, ulint*, ulint*, bool, byte**): Assertion `!recv_sys->mlog_checkpoint_lsn || *space == TRX_SYS_SPACE || srv_is_undo_tablespace(*space) || it != recv_spaces.end()' failed.
      190125  6:03:42 [ERROR] mysqld got signal 6 ;
       
      /lib/x86_64-linux-gnu/libc.so.6(+0x2dc82)[0x7fbc05815c82]
      log/log0recv.cc:2412(recv_parse_log_rec(mlog_id_t*, unsigned char*, unsigned char*, unsigned long*, unsigned long*, bool, unsigned char**))[0x55e38a2dc8cb]
      log/log0recv.cc:2696(recv_parse_log_recs(unsigned long, store_t, bool))[0x55e38a2dd515]
      log/log0recv.cc:3100(recv_scan_log_recs(unsigned long, store_t*, unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned long*, unsigned long*))[0x55e38a2de3db]
      log/log0recv.cc:3195(recv_group_scan_log_recs(log_group_t*, unsigned long, unsigned long*, bool))[0x55e38a2de8db]
      log/log0recv.cc:3519(recv_recovery_from_checkpoint_start(unsigned long))[0x55e38a2dfbd1]
      srv/srv0start.cc:2192(innobase_start_or_create_for_mysql())[0x55e38a3ef14a]
      mariabackup/xtrabackup.cc:1995(innodb_init())[0x55e389bb1827]
      mariabackup/xtrabackup.cc:5595(xtrabackup_prepare_func(char**))[0x55e389bbbc4b]
      mariabackup/xtrabackup.cc:6434(main_low(char**))[0x55e389bbdf45]
      mariabackup/xtrabackup.cc:6227(main)[0x55e389bbd757]
      /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7fbc05808830]
      /home/travis/server/bin/mariabackup(_start+0x29)[0x55e389bad069]
      

      Backup data dirs and logs can be found here:
      ftp://ftp.askmonty.org/public/mdev18377-dataset1.tar.gz
      ftp://ftp.askmonty.org/public/mdev18377-dataset2.tar.gz

      The first dataset is from the simpler full backup scenario, but it uses encryption, which is a bit of a complication. Check and update encryption options (paths) as necessary.

      The second dataset is from the incremental backup scenario, even though it fails on the first prepare, performed on the full backup, before applying any incremental backups. It doesn't use encryption.


      Notes on the origin of the report

      Please note it's not necessarily reproducible the same way.

      https://travis-ci.org/elenst/travis-tests/jobs/483980185
      2574 16 3
      Server: bb-10.2-MDEV-18194 de7408ec8adf78d7e5b6fd6a30feaa8b2f0dc350
      Tests: elenst-dev 56fe47273ca5ef1a2672c5a105dd73bbb5d66766
      Toolbox: 572674defcfef484b9188dde092511efe2db3800

      https://travis-ci.org/elenst/travis-tests/jobs/483980187
      2574 18 4
      Server: bb-10.2-MDEV-18194 de7408ec8adf78d7e5b6fd6a30feaa8b2f0dc350
      Tests: elenst-dev 56fe47273ca5ef1a2672c5a105dd73bbb5d66766
      Toolbox: 572674defcfef484b9188dde092511efe2db3800

      Attachments

        Issue Links

          Activity

            People

              thiru Thirunarayanan Balathandayuthapani
              elenst Elena Stepanova
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.