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

InnoDB: background encryption thread uses FIL_DEFAULT_ENCRYPTION_KEY

    Details

      Description

      In XtraDB/InnoDB the background encryption thread needs to check the latest key version for every tablespace to be able to re-encrypt tablespaces as necessary.

      Instead it asks for the latest key version for the key id 1. This is incorrect, because different tablespaces might be encrypted with different key ids and have different key rotation policies.

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            serg Sergei Golubchik added a comment -
            Show
            serg Sergei Golubchik added a comment - Jan Lindström , could you please review this fix? http://lists.askmonty.org/pipermail/commits/2015-May/007840.html
            Hide
            jplindst Jan Lindström added a comment -

            ok to push.

            Show
            jplindst Jan Lindström added a comment - ok to push.

              People

              • Assignee:
                serg Sergei Golubchik
                Reporter:
                serg Sergei Golubchik
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 5 hours
                  5h