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

OPT_PAGE_CHECKSUM is ignored if innodb_encrypt_log=ON

Details

    Description

      In the merge of the MDEV-18976 implementation, a logical conflict with MDEV-14425 was resolved incorrectly. The log record parser is reading the contents of an OPTION record without attempting to decrypt it. Unless the first payload octet OPT_PAGE_CHECKSUM happens to encrypt to itself, these record will be ignored. By design, all OPTION records can be ignored without breaking anything.

      In debug-instrumented builds, InnoDB is writing OPT_PAGE_CHECKSUM records so that some recovery errors can be caught better. This bug causes that to be mostly a wasted effort when innodb_encrypt_log=ON.

      Attachments

        Issue Links

          Activity

            marko Marko Mäkelä created issue -
            marko Marko Mäkelä made changes -
            Field Original Value New Value
            marko Marko Mäkelä made changes -
            marko Marko Mäkelä made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            marko Marko Mäkelä made changes -
            Assignee Marko Mäkelä [ marko ] Debarun Banerjee [ JIRAUSER54513 ]
            Status In Progress [ 3 ] In Review [ 10002 ]
            debarun Debarun Banerjee made changes -
            Assignee Debarun Banerjee [ JIRAUSER54513 ] Marko Mäkelä [ marko ]
            Status In Review [ 10002 ] Stalled [ 10000 ]

            People

              marko Marko Mäkelä
              marko Marko Mäkelä
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.