Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-4554

Revisit description of mongodump --repair option

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: v1.3.15, mongodb-3.0
    • Component/s: manual
    • Labels:
      None
    • # Replies:
      2
    • Last comment by Customer:
      true
    • Actual Time:
      4

      Description

      --repair in mongodump doesn't do the same thing as --repair on the server and the language at http://docs.mongodb.org/manual/reference/program/mongodump/ is incorrect.

      Description should be clear that --repair is read-only and:

      a) for MMAPv1 does a forward and backward pass, iterating through documents, resulting in duplication of each document if the database is in a valid state, and
      b) doesn't do anything (as yet) on other storage engines.

      --repair
      Runs a repair option in addition to dumping the database. The repair option attempts to repair a database that may be in an invalid state as a result of an improper shutdown or mongod crash.
      The --repair option uses aggressive data-recovery algorithms that may produce a large amount of duplication.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sam.kleinman Sam Kleinman (Inactive)
              Reporter:
              michael.paik Michael Paik
              Participants:
              Last commenter:
              Jonathan Dahl
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since reply:
                5 years, 33 weeks, 6 days ago
                Date of 1st Reply: