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

mongodump --repair does not stop at extent boundaries

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 2.2.0-rc0
    • Fix Version/s: 2.2.0-rc1
    • Component/s: Tools
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL

      Description

      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.

        Attachments

          Activity

            People

            Assignee:
            pasette Daniel Pasette
            Reporter:
            pasette Daniel Pasette
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: