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

Add target uri edge cases for partial backup restores

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

      Summary
      From the WT-8703 ticket, we have implemented the ability to partial restore from a partial backup. This functionality requires the user to pass in a target uri list. This list denotes all the uris that are expected to be recovered from the partial backup restore. This functionality also involves WiredTiger multiple components of cleaning up the metadata, and cleaning up all the history entries associated with tables that do not exist in the database anymore.

      This ticket aims to add more python tests to test specific edge cases around the target uri configuration string and potentially fix any bug fixes that come with the tests.

      Currently there are no testing in the edge cases where:

      • If the user performs a backup and doesn't copy over the table but the table uri exists in target uri list. This case is not covered in WiredTiger, and the metadata entries will be left in the metadata file.
      • A weird case can also happen where a random table uri that doesn't that even exist in the database, is placed in the configuration string. In this case it should be harmless.

      Acceptance Criteria (Definition of Done)
      This ticket will be considered done when all the described edge cases are covered through python tests. The developer will also need to fix any potential bugs that might occur.

            Assignee:
            backlog-server-storage-engines [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            jie.chen@mongodb.com Jie Chen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: