Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-87406

Create targeted jstest for non-PIT sharded cluster magic restore

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Replication
    • Fully Compatible
    • v8.0
    • Repl 2024-03-18, Repl 2024-04-15, Repl 2024-04-29, Repl 2024-05-13, Repl 2024-05-27

      We should write a jstest that does an end-to-end sharded cluster non-PIT restore. This test will need to open backup cursors on each shard, copy backups, retrieve the maxCheckpointTs and perform the $backupCursorExtend behavior to get the sharded backup data to a consistent point in time. Then, we should restore to the maxCheckpointTs using magic restore.

      This ticket can probably utilize some helpers in sharded_backup_restore.js. We may need to add / modify some helpers to make them work for magic restore. If so, we can add any utility functions in the backup_utils.js file.

            Assignee:
            frederic.vitzikam@mongodb.com Frederic Vitzikam (Inactive)
            Reporter:
            ali.mir@mongodb.com Ali Mir
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: