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

encryption.innodb-page_encryption_compression fails

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 10.1.5
    • Fix Version/s: 10.1.6
    • Component/s: Encryption, Tests
    • Labels:
      None
    • Sprint:
      10.1.6-2

      Description

      encryption.innodb-page_encryption_compression test fails in 10.1 when executed after encryption.create_or_replace test with --ps-protocol. This started happening after

      commit 8036ad0a08657d074e29035a70e3ab4d4ab5adcf
      Author: Sergei Golubchik <serg@mariadb.org>
      Date:   Sun Jun 21 06:33:45 2015 +0200
      
          misc encryption tests fixes
          
          * support statically compiled file_key_management when possible
          * rename encryption.encryption_create_or_replace -> encryption.create_or_rep
          * delete unnecessary *.opt file (including
            have_key_management_plugin.inc is enough)
          * remove unnecessary LOWER() for strings that are compared
            case insensitively anyway
      

      but that commit only removed encryption_create_or_replace.opt file and renamed the test. And without the .opt file there is no server restart before and after the test. Apparently, create_or_replace test doesn't completely restores the environment and it causes innodb-page_encryption_compression test to fail.

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            jplindst Jan Lindström added a comment -

            commit ad9b3263d3c5e4784008cc748ae1af8494da3f05
            Author: Jan Lindström <jan.lindstrom@mariadb.com>
            Date: Mon Jun 29 08:49:58 2015 +0300

            MDEV-8391: encryption.innodb-page_encryption_compression fails

            Test create_or_replace should make sure that background decrypt
            operation is finished and flush all dirty pages using restart
            to clean up the database before ending.

            Show
            jplindst Jan Lindström added a comment - commit ad9b3263d3c5e4784008cc748ae1af8494da3f05 Author: Jan Lindström <jan.lindstrom@mariadb.com> Date: Mon Jun 29 08:49:58 2015 +0300 MDEV-8391 : encryption.innodb-page_encryption_compression fails Test create_or_replace should make sure that background decrypt operation is finished and flush all dirty pages using restart to clean up the database before ending.

              People

              • Assignee:
                jplindst Jan Lindström
                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 - 2 hours
                  2h

                    Agile