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

Add targeted test to perform a selective restore with magic restore

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Replication
    • Repl 2024-08-05, Repl 2024-09-02, Repl 2024-09-16

      We should write a targeted test that performs a selective restore with magic restore. This ticket should test both replica sets and sharded clusters. We'll need to filter the backup cursor results on the required and ns fields to only retrieve files we want to restore, and then ensure only the filtered collections exist on the restored node. For config servers being restored, we'll need to use the collectionsToRestore magic restore parameter to ensure we run _configsvrRunRestore correctly.

            Assignee:
            ali.mir@mongodb.com Ali Mir
            Reporter:
            ali.mir@mongodb.com Ali Mir
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: