[DOCS-4554] Revisit description of mongodump --repair option Created: 18/Dec/14  Updated: 16/Mar/15  Resolved: 18/Dec/14

Status: Closed
Project: Documentation
Component/s: manual
Affects Version/s: None
Fix Version/s: v1.3.15, mongodb-3.0

Type: Bug Priority: Major - P3
Reporter: Michael Paik Assignee: Sam Kleinman (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
documents TOOLS-394 Consider rewording help text for --re... Closed
Participants:
Days since reply: 9 years, 8 weeks, 6 days ago

 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.



 Comments   
Comment by Githook User [ 18/Dec/14 ]

Author:

{u'username': u'tychoish', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}

Message: DOCS-4554: edits to mongodump --repair
Branch: master
https://github.com/mongodb/docs/commit/b06f6d0b0ce82fef23c74be4a557ceae9a3607b7

Comment by Sam Kleinman (Inactive) [ 18/Dec/14 ]

http://docs.mongodb.org/v2.8/reference/program/mongodump/#cmdoption--repair

Generated at Thu Feb 08 07:48:17 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.