Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-6691

Add file import repair functionality

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 5.0 Required
    • Component/s: None
    • Labels:
      None

      Description

      If the import configuration option specifies enabled as true and repair as true, we will attempt to perform an import repair. In a repair, we will attempt to extract the metadata and checkpoint information from the raw file data and reconstruct the configuration strings for the target data source.

      The __wt_import method already exists in WiredTiger as a means to import a file object into a running database. It extracts the metadata and checkpoint information from the raw data file, provided the block allocation size is known, essentially performing the import repair operation described above.

      As the block allocation will not be known in our case, we need to refactor the existing code to, at minimum, bypass the checksum match when reading the file.

      The repair functionality should work for (simple) table and file data sources.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              backlog-server-storage-engines Backlog - Storage Engines Team
              Reporter:
              tammy.bailey Tammy Bailey
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: