Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-106

mongorestore --oplogReplay + --oplogLimit should search for any valid source

    XMLWordPrintable

    Details

      Description

      Sources are these:
      1) dump/oplog.bson (from mongodump --oplog)
      2) dump/local/oplog.rs.bson (from mongodump -d local -c oplog.rs) (replica-set replication)
      3) dump/local/oplog.$main.bson (same as above) (master-slave replication)
      4) mongorestore --oplogReplay --oplogLimit <ts> --oplogFile <file.bson> (explicitly specify a file)

      If 1 and 4 both exist there should be an error. If either 1 or 4 exist but not both, they should take priority. If neither 1 or 4 exist, but 2 and 3 both exist there should be an error.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              judah.schvimer Judah Schvimer
              Reporter:
              scotthernandez Scott Hernandez
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: