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

Server startup fails while dropping garbage encrypted tablespace if innodb_encryption_threads > 0

Details

    Description

      The following patch makes the server to fail with assert failure:

      diff --git a/mysql-test/suite/encryption/t/innodb-encryption-alter.test b/mysql-test/suite/encryption/t/innodb-encryption-alter.test
      index d9a0e4e..2e18b15 100644
      --- a/mysql-test/suite/encryption/t/innodb-encryption-alter.test
      +++ b/mysql-test/suite/encryption/t/innodb-encryption-alter.test
      @@ -123,6 +123,7 @@ SET DEBUG_SYNC = 'now WAIT_FOR done';
       SET GLOBAL innodb_flush_log_at_trx_commit=1;
       COMMIT;
       
      +let $restart_parameters = --innodb_encryption_threads=2;
       --let $shutdown_timeout= 0
       --source include/restart_mysqld.inc
       disconnect con1;
      

      I think we should check whether encryption plugin was initialized before
      accessing mutex of encryption threads.

      Attachments

        Issue Links

          Activity

            thiru Thirunarayanan Balathandayuthapani created issue -
            thiru Thirunarayanan Balathandayuthapani made changes -
            Field Original Value New Value
            thiru Thirunarayanan Balathandayuthapani made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            thiru Thirunarayanan Balathandayuthapani made changes -
            Fix Version/s 10.2.26 [ 23409 ]
            Fix Version/s 10.3.17 [ 23411 ]
            Fix Version/s 10.5.0 [ 23709 ]
            Fix Version/s 10.4.7 [ 23720 ]
            Resolution Fixed [ 1 ]
            Status In Progress [ 3 ] Closed [ 6 ]
            thiru Thirunarayanan Balathandayuthapani made changes -
            serg Sergei Golubchik made changes -
            Workflow MariaDB v3 [ 97884 ] MariaDB v4 [ 156419 ]

            People

              thiru Thirunarayanan Balathandayuthapani
              thiru Thirunarayanan Balathandayuthapani
              Votes:
              0 Vote for this issue
              Watchers:
              1 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.