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

Add Replica Set Restore Mode (for point-in-time)

    • Type: Icon: Bug Bug
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Admin, Replication
    • Labels:
      None
    • ALL
    • Repl 2019-08-26
    • 15

      This mode/command will need to support situations where unique indexes restraints must be loosened like during initial-sync/recovery mode.

      Depending on the state of the data, and the contents of the oplog, in a backup taken with "mongodump --oplog", attempting to restore the data may cause temporary unique-index violations. The violations will be resolved by the time "mongorestore" has replayed the dumped oplog, but it's currently impossible to do the mongorestore because the unique-index violations will abort the restore.

      We need a way to suspend unique-index constraints while restoring a dump with an oplog, then re-enable the constraints at the end of the restore. There should be a rigorous strategy in place for dealing with unique-index violations that remain at the end of the restore.

            Assignee:
            judah.schvimer@mongodb.com Judah Schvimer
            Reporter:
            scotthernandez Scott Hernandez (Inactive)
            Votes:
            6 Vote for this issue
            Watchers:
            21 Start watching this issue

              Created:
              Updated:
              Resolved: