Details

    • 10.1.6-1, 10.1.6-2, 10.1.21

    Description

      Scrubbing tests somehow got encryption enabled in their opt files. After removing --innodb-encrypt-tables=ON and --innodb-encrypt-log=ON from innodb_scrub.opt, innodb_scrub_background.opt, innodb_scrub_compressed.opt, these tests start to fail.

      Now that the problematic ‘background scrubbing’ and all scrubbing code that incorrectly skipped redo logging has been removed from MariaDB Server 10.5.2, we should continue where MDEV-15528 left off, and finally enable the scrubbing tests to prove that the theoretically sound way of scrubbing actually works:

      1. Remove the invalidate parameter of btr_free_root()
      2. Introduce a data structure that allows us to mark a range of data pages of a tablespace as freed, even when those pages are not in the buffer pool. This could be attached to fil_space_t.
      3. Ensure that crash recovery will replay the FREE_PAGE records (extend the above mentioned ranges of freed pages), and punch holes in page_compressed tables, or overwrite blocks with zeroes if innodb_immediate_scrub_data_uncompressed is set.
      4. On page flush, try to combine large punch_hole or zero-initialization requests to a small one.
      5. Optional: when freeing the last pages of a tablespace, write a TRIM_PAGES record, and on page flush, invoke ftruncate() to shrink the file. (Do this on any file, when neither scrubbing nor page_compressed is being used.)

      Attachments

        Issue Links

          Activity

            Transition Time In Source Status Execution Times
            Jan Lindström (Inactive) made transition -
            Open In Progress
            14d 17h 3m 1
            Jan Lindström (Inactive) made transition -
            In Progress Stalled
            36d 6h 11m 1
            Marko Mäkelä made transition -
            Stalled Confirmed
            1h 44m 1
            Thirunarayanan Balathandayuthapani made transition -
            Confirmed In Progress
            1167d 2h 1
            Thirunarayanan Balathandayuthapani made transition -
            In Progress Closed
            2d 17h 1
            Marko Mäkelä made transition -
            Closed Stalled
            10d 3h 31m 1
            Thirunarayanan Balathandayuthapani made transition -
            Stalled In Progress
            572d 5h 6m 3
            Thirunarayanan Balathandayuthapani made transition -
            In Progress In Review
            69d 4h 20m 3
            Marko Mäkelä made transition -
            In Review Stalled
            21d 11h 59m 3
            Thirunarayanan Balathandayuthapani made transition -
            Stalled Closed
            3d 1h 57m 1

            People

              thiru Thirunarayanan Balathandayuthapani
              serg Sergei Golubchik
              Votes:
              1 Vote for this issue
              Watchers:
              8 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.