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

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

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:

      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

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

              Created:
              Updated: