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

innodb_immediate_scrub_data_uncompressed=ON may fail to scrub temporary tablespace pages

Details

    Description

      When a page in the temporary tablespace is freed (for example, due to DROP TEMPORARY TABLE), mtr_t::free() fails to mark the page status as buf_page_t::FREED. Due to this, InnoDB may fail to scrub the freed page (if innodb_immediate_scrub_data_uncompressed=ON) when buf_flush_space() is being invoked on the temporary tablespace.

      Attachments

        Issue Links

          Activity

            I do not think that this bug has much practical impact, because due to MDEV-12227 any writes to the temporary tablespace should be rather rare, and the impact of scrubbing might not be observable.

            However, this bug blocks the feature MDEV-28699, which allows better "scrubbing" by shrinking the temporary tablespace.

            marko Marko Mäkelä added a comment - I do not think that this bug has much practical impact, because due to MDEV-12227 any writes to the temporary tablespace should be rather rare, and the impact of scrubbing might not be observable. However, this bug blocks the feature MDEV-28699 , which allows better "scrubbing" by shrinking the temporary tablespace.

            People

              thiru Thirunarayanan Balathandayuthapani
              thiru Thirunarayanan Balathandayuthapani
              Votes:
              0 Vote for this issue
              Watchers:
              3 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.