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

Remove buf_page_t::newest_modification

    XMLWordPrintable

Details

    Description

      At each mini-transaction commit, the log sequence number of the mini-transaction must be written to each modified page, so that it will be available in the FIL_PAGE_LSN field when the page is being read in crash recovery.

      InnoDB was unnecessarily allocating redundant storage for the field, in buf_page_t::newest_modification. Let us access FIL_PAGE_LSN directly.

      Furthermore, on ALTER TABLE…IMPORT TABLESPACE, we should write FIL_PAGE_LSN as 0 instead of using the value of log_sys.lsn at the start of the operation.

      Attachments

        Issue Links

          Activity

            People

              marko Marko Mäkelä
              marko Marko Mäkelä
              Votes:
              0 Vote for this issue
              Watchers:
              1 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.