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

mongodump --forceTableScan --oplog needs to handle docs moving backwards

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: mongodump
    • None
    • 5

      mongodump's --forceTableScan option doesn't appear to ensure that the dumped documents are going to have unique _ids in the case where a document gets moved during the dump. I suspect that this will mess up mongorestores.

      Either mongodump should de-duplicate, or mongorestore should de-duplicate, or this option should go away (or stop being documented).

            Assignee:
            Unassigned Unassigned
            Reporter:
            ian@mongodb.com Ian Whalen (Inactive)
            Votes:
            11 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: