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

Modify ALTER INSTANCE ROTATE INNODB MASTER KEY to skip writing of redo for compressed encrypted temporary table.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 5.7.27-30, Not 8.0.x
    • Fix Version/s: 5.7.31-34
    • Component/s: None
    • Labels:
      None

      Description

      While running pstress, mysql server failed to perform crash recovery. After the server was crashed, it fails to recover. As per error logs:

      InnoDB: Tablespace 192 was not found at /tmp/719168/3/tmp/#sql1a4b_10_5.ibd.
      InnoDB: Set innodb_force_recovery=1 to ignore this and to permanently lose all changes to the tablespace.
      InnoDB: Cannot continue operation.

      Options to reproduce the problem:
      --tables 20 --records 700 --only-temp-tables --no-select --no-insert --no-delete --no-update  --log-all-queries --log-failed-queries
       
      This issue is a regression introduced in 5.7.27-30 by this commit id 079693537f0 as part of
      PS-5736 - Make innodb_temp_tablespace_encrypt truly dynamic
      The error message in the logs are quite relatable as well.
      InnoDB: Tablespace 192 was not found at /tmp/719168/3/tmp/#sql1a4b_10_5.ibd.

      Steps to verify that this a regression:
      git checkout release-5.7.30-33
      git revert 079693537f0 -m 1
      Run pstress. Issue will not be seen

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              satya.bodapati Satya Bodapati
              Reporter:
              mohit.joshi Mohit Joshi
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 4 days, 1 hour, 20 minutes
                  4d 1h 20m

                    Smart Checklist