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

Mariabackup should write warning during backup if server does not have innodb_safe_truncate=ON set

Details

    Description

      In MariaDB 10.2, some DDL statements can lead to inconsistent backups unless the server has innodb_safe_truncate=ON set. See MDEV-13564 for more information.

      https://mariadb.com/kb/en/library/mariabackup-overview/#concurrent-ddl-and-backup-issues

      https://mariadb.com/kb/en/library/innodb-system-variables/#innodb_safe_truncate

      Maybe Mariabackup in MariaDB 10.2 should write a warning if a backup is taken when innodb_safe_truncate=ON is not set? i.e. something like this?:

      [Warning] The server does not have innodb_safe_truncate set to ON. If certain DDL statements are executed during the backup, then the backup can be inconsistent.

      Attachments

        Issue Links

          Activity

            ralf.gebhardt Ralf Gebhardt added a comment -

            I have removed the fixVersion for this task as it is one of 5.5, 10.1, 10.2, 10.3, which are EOLed.

            Please add a new fixVersion if you plan to work on this task for a not EOLed versions.

            ralf.gebhardt Ralf Gebhardt added a comment - I have removed the fixVersion for this task as it is one of 5.5, 10.1, 10.2, 10.3, which are EOLed. Please add a new fixVersion if you plan to work on this task for a not EOLed versions.

            People

              marko Marko Mäkelä
              GeoffMontee Geoff Montee (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Git Integration

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