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

Simplify .ibd file creation

    XMLWordPrintable

Details

    Description

      When InnoDB creates an .ibd file, it first writes a dummy page 0 with no information about encryption. This may prevent Mariabackup 10.2.20 or 10.2.21 from copying encrypted data files that were craeted shortly before backup started.

      Maybe we should create a 0-byte .ibd file first, and then let page flushing write the first pages? Alternatively, preallocate a zero-filled file and then let page flushing do its job.

      A valid page 0 must be written to the created files before writing any other pages. Otherwise, crash recovery cannot work.

      Attachments

        Issue Links

          Activity

            People

              thiru Thirunarayanan Balathandayuthapani
              marko Marko Mäkelä
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 5d
                  5d
                  Remaining:
                  Time Spent - 1d 6.5h Remaining Estimate - 3d 1.5h
                  3d 1.5h
                  Logged:
                  Time Spent - 1d 6.5h Remaining Estimate - 3d 1.5h
                  1d 6.5h

                  Git Integration

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