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

INFORMATION_SCHEMA.INNODB_TABLESPACES_ENCRYPTION.NAME is NULL for undo tablespaces

Details

    Description

      marko encountered that few test cases in encryption and mariabackup suite are hanging
      when innodb_undo_tablespaces > 0 (MDEV-29986). Test cases in encryption suites are

       encrypt_and_grep
       debug_key_management
       innodb-remove-encryption
       innodb-spatial-index
       innodb-encrypt-freed
       innodb_encrypt_key_rotation_age
       innodb_first_page
      

      InnoDB:

       encryption_threads_shutdown
      

      Mariabackup:

       mdev-14447
       skip_innodb
       xb_partition
      

      Thanks to marko for finding out the test while working on MDEV-29986
      As a part of the patch, InnoDB should display undo tablespace name as undo001, undo002 and soon.

      Attachments

        Issue Links

          Activity

            Before MDEV-25312, the names of undo tablespaces were innodb_undo001, innodb_undo002, and so on. In MDEV-25312, the reported names for undo tablespaces were changed to NULL.

            To avoid dynamic allocation of strings, it could be better to introduce names like undo001, so that we can simply use a substring of the underlying file name. Regular tablespaces always contain a / in their names.

            marko Marko Mäkelä added a comment - Before MDEV-25312 , the names of undo tablespaces were innodb_undo001 , innodb_undo002 , and so on. In MDEV-25312 , the reported names for undo tablespaces were changed to NULL. To avoid dynamic allocation of strings, it could be better to introduce names like undo001 , so that we can simply use a substring of the underlying file name. Regular tablespaces always contain a / in their names.

            In i_s_dict_fill_tablespaces_encryption(), could we allocate a buffer from the stack for the strings like innodb_undo001? In that way, the reported names for undo tablespaces would be the same as they were before MDEV-25312.

            marko Marko Mäkelä added a comment - In i_s_dict_fill_tablespaces_encryption() , could we allocate a buffer from the stack for the strings like innodb_undo001 ? In that way, the reported names for undo tablespaces would be the same as they were before MDEV-25312 .

            OK to push.

            marko Marko Mäkelä added a comment - OK to push.

            People

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