Uploaded image for project: 'Percona Server for MySQL'
  1. Percona Server for MySQL
  2. PS-4834

encrypted system tablespace has empty uuid

    XMLWordPrintable

    Details

      Description

      To reproduce the bug in 5.7 add `ut_ad` from 8.0 for fsp_header_decode_encryption_info():

          /* Get server uuid. */
          if (version == Encryption::ENCRYPTION_VERSION_2) {
              memset(srv_uuid, 0, ENCRYPTION_SERVER_UUID_LEN + 1);
              memcpy(srv_uuid, ptr, ENCRYPTION_SERVER_UUID_LEN);
              ptr += ENCRYPTION_SERVER_UUID_LEN;
              ut_ad(strlen(srv_uuid) != 0);
          }
      

      then run:

      ./mysql-test/mtr --debug-server innodb.percona_sys_tablespace_encrypt
      

      and check `tmp/sys_encrypt_err.log`

        Smart Checklist

          Attachments

            Activity

              People

              Assignee:
              satya.bodapati Satya Bodapati
              Reporter:
              przemyslaw.skibinski Przemyslaw Skibinski
              Votes:
              1 Vote for this issue
              Watchers:
              4 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 - 11 minutes
                  11m