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

mongodump --repair does not stop at extent boundaries

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.2.0-rc1
    • Affects Version/s: 2.2.0-rc0
    • Component/s: Tools
    • Labels:
      None
    • Fully Compatible
    • ALL

      When running mongodump with the --repair option, the intent is to traverse each document in each extent for a collection, starting both at the first extent and traversing forward, then from the last extent and traversing backwards.

      The current implementation doesn't stop at extent boundaries and writes out all documents after the end of the current extent, then repeats this for the next extent, and so on. It does the same thing for the backwards pass.

      This causes the dumped file to be much larger than the original collection and overruns 100% in the progress meter.

            Assignee:
            dan@mongodb.com Daniel Pasette (Inactive)
            Reporter:
            dan@mongodb.com Daniel Pasette (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: