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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Gone away
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: mongodump
    • Labels:
      None

      Description

      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).

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              backlog-server-tools Backlog - Server Tools Team
              Reporter:
              ian.whalen Ian Whalen
              Votes:
              11 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: