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

When ALTER TABLE is aborted, do not write garbage pages to data files

    XMLWordPrintable

Details

    Description

      Fixing the potential corruption bug MDEV-14310 will reduce the performance of ALTER TABLE when the operation fails or is interrupted.
      There is no reason to write pages that would be freed as part of rolling back the operation.

      Maybe there should be a separate flush list for the pages for which redo logging has been disabled. Then the FlushObserver could simply leave buf_pool_t::flush_list alone.

      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.