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

Add donor_stable_timestamp in WT_SESSION::create(import=())

    XMLWordPrintable

Details

    • New Feature
    • Status: Backlog
    • Major - P3
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      Summary

      The format for the new option is: donor_stable_timestamp=<ts value>. It will be used in a scenario similar to this:

      session->create(“table:A”, “import=(enabled=true,donor_stable_timestamp=<TS>,metadata_file=WiredTiger.export”) 

      If the caller wants a rollback to stable performed then the caller is required to provide WiredTiger with a timestamp value. If a value is not provided then rollback to stable will not be called. If a value is provided then we will provide that timestamp to rollback this specific table to that value.

      The scope of work for this ticket is

      1. Add the new option to WT_SESSION::create(import=()).
      2. Do rollback to stable of the imported table if the donor timestamp has been provided.
      3. Add a test for the new option

      Attachments

        Activity

          People

            backlog-server-storage-engines Backlog - Storage Engines Team
            alexey.anisimov@mongodb.com Alexey Anisimov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: