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

Crash in mariadb-backup --prepare --export after --prepare

    XMLWordPrintable

Details

    Description

      The following change to an existing regression test causes a crash:

      diff --git a/mysql-test/suite/mariabackup/partial.test b/mysql-test/suite/mariabackup/partial.test
      index d0d07daf2ea..035024aac3d 100644
      --- a/mysql-test/suite/mariabackup/partial.test
      +++ b/mysql-test/suite/mariabackup/partial.test
      @@ -41,6 +41,7 @@ EOF
       
       echo # xtrabackup prepare;
       --disable_result_log
      +exec $XTRABACKUP --defaults-file=$server_cnf --defaults-group-suffix=.1 --prepare --target-dir=$targetdir;
       exec $XTRABACKUP --defaults-file=$server_cnf --defaults-group-suffix=.1 --prepare --export --target-dir=$targetdir;
       --enable_result_log
       
      

      10.5 e472b682e068319e2a27373903cd46fb93093286

      mariabackup: /mariadb/10.5/storage/innobase/fil/fil0fil.cc:441: bool fil_node_open_file(fil_node_t*): Assertion `fil_is_user_tablespace_id(node->space->id) || srv_operation == SRV_OPERATION_BACKUP || srv_operation == SRV_OPERATION_RESTORE || srv_operation == SRV_OPERATION_RESTORE_DELTA' failed.
      

      10.6 736a54f49c72d89fb82ef4165e96cddb506cf555

      mariabackup: /mariadb/10.6/storage/innobase/fil/fil0fil.cc:426: bool fil_node_open_file(fil_node_t*): Assertion `fil_is_user_tablespace_id(node->space->id) || srv_operation == SRV_OPERATION_BACKUP || srv_operation == SRV_OPERATION_RESTORE || srv_operation == SRV_OPERATION_RESTORE_DELTA' failed.
      

      The 10.4 branch does not crash.

      Attachments

        Activity

          People

            debarun Debarun Banerjee
            marko Marko Mäkelä
            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.