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

Correct processing to apply crypt redo logs

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8.0.21-12
    • Component/s: None
    • Labels:
      None

      Description

      If a table has redo logs on page 0 which is not flushed to disk and we killed the server

      During recovery, it is not applying redo logs on page 0 properly.

      start the ps debug server.

      set global innodb_page_cleaner_disabled_debug=on;
      drop table t4; create table t4(i int) encryption='n';
      Query OK, 0 rows affected (0.03 sec)

      Kill server

      and restart PSB ENCRYPTION_KEY_MAGIC_PS_V2 is missing from page 0.
      grep PSB t4.ibd

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              robert.golebiowski Robert Golebiowski (Inactive)
              Reporter:
              rahul.malik Rahul Malik
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - Not Specified
                  Not Specified
                  Logged:
                  Time Spent - 1 day, 4 hours
                  1d 4h

                    Smart Checklist