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

key rotation for innodb_encrypt_log is not working in 10.5

Details

    Description

      Found by reading the code. https://github.com/MariaDB/server/blob/17080cbcf04ab295806db8aaaeead2696988fab4/storage/innobase/log/log0crypt.cc#L158

      So, all key rotation logic depends on log_t::FORMAT_ENC_10_4 while in 10.5 it should also work for log_t::FORMAT_ENC_10_5

      Attachments

        Issue Links

          Activity

            The fix will change the format of the redo log record blocks when using innodb_encrypt_log.

            Because the log format was changed (and this bug introduced) in MariaDB 10.5.2 by MDEV-12353 and related changes, it would be best if also this fix were included in MariaDB 10.5.2. If we fail to include this fix in 10.5.2, then we would have to implement another redo log format tag for the 10.5.3+ encrypted redo log and maybe also implement upgrade logic from 10.5.2 to later 10.5 versions.

            marko Marko Mäkelä added a comment - The fix will change the format of the redo log record blocks when using innodb_encrypt_log . Because the log format was changed (and this bug introduced) in MariaDB 10.5.2 by MDEV-12353 and related changes, it would be best if also this fix were included in MariaDB 10.5.2. If we fail to include this fix in 10.5.2, then we would have to implement another redo log format tag for the 10.5.3+ encrypted redo log and maybe also implement upgrade logic from 10.5.2 to later 10.5 versions.

            People

              kevg Eugene Kosov (Inactive)
              kevg Eugene Kosov (Inactive)
              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.