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

Mariabackup doesn't detect error and give "Completed ok" status.

Details

    Description

      Even there is an error in backup, mariabackup doesn't detect error and give "Completed ok" status.

      2019-09-14 1:49:06 139835221698304 [Note] InnoDB: page_cleaner coordinator priority: -20
      2019-09-14 1:49:06 139872001148736 [Note] InnoDB: Highest supported file format is Barracuda.
      2019-09-14 1:49:06 139872001148736 [ERROR] InnoDB: Obtaining redo log encryption key version 1 failed (4294967295). Maybe the key or the required encryption key management plugin was not found.
      2019-09-14 1:49:06 139872001148736 [ERROR] InnoDB: Reading checkpoint encryption info failed.
      2019-09-14 1:49:06 139872001148736 [ERROR] InnoDB: No valid checkpoint found (corrupted redo log). You can try --innodb-force-recovery=6 as a last resort.
      2019-09-14 1:49:06 139872001148736 [ERROR] InnoDB: Plugin initialization aborted with error Generic error
      [00] 2019-09-14 01:49:06 mariabackup: innodb_init() returned 11 (Generic error).
      [00] 2019-09-14 01:49:07 completed OK!
      

      Attachments

        Activity

          The issue was fixed in the following commit:
          ===
          commit 6b5d3c51b3d4260ba692bb84c64eb2705635e051
          Author: Vladislav Vaintroub <wlad@mariadb.com>
          Date: Tue Apr 23 12:44:09 2019 +0100

          Do fast exit with error code and FATAL ERROR message, if innodb cannot start during prepare.

          Otherwise, it is possible for "prepare" to exit with error code 0,
          even if it did not work at all.
          ===

          This commit was released in 10.2.24

          vlad.lesin Vladislav Lesin added a comment - The issue was fixed in the following commit: === commit 6b5d3c51b3d4260ba692bb84c64eb2705635e051 Author: Vladislav Vaintroub <wlad@mariadb.com> Date: Tue Apr 23 12:44:09 2019 +0100 Do fast exit with error code and FATAL ERROR message, if innodb cannot start during prepare. Otherwise, it is possible for "prepare" to exit with error code 0, even if it did not work at all. === This commit was released in 10.2.24

          People

            vlad.lesin Vladislav Lesin
            niljoshi Nilnandan Joshi
            Votes:
            0 Vote for this issue
            Watchers:
            3 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.