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

    XMLWordPrintable

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

            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.