Migrate Reference Documentation to Manual from Wiki
(DOCS-262)
|
|
| Status: | Closed |
| Project: | Documentation |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Sub-task | Priority: | Major - P3 |
| Reporter: | Daniel Pasette (Inactive) | Assignee: | Kay Kim (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Participants: | |
| Days since reply: | 11 years, 20 weeks, 6 days ago |
| Description |
|
There are a few references to an --objcheck option on http://www.mongodb.org/display/DOCS/Import+Export+Tools , but there's no explanation of what that does. |
| Comments |
| Comment by auto [ 27/Sep/12 ] |
|
Author: {u'date': u'2012-09-27T09:35:08-07:00', u'email': u'samk@10gen.com', u'name': u'Sam Kleinman'}Message: |
| Comment by auto [ 27/Sep/12 ] |
|
Author: {u'date': u'2012-09-27T09:34:15-07:00', u'email': u'samk@10gen.com', u'name': u'Sam Kleinman'}Message: merge: |
| Comment by auto [ 27/Sep/12 ] |
|
Author: {u'date': u'2012-09-27T08:31:36-07:00', u'email': u'kay.kim@10gen.com', u'name': u'kay'}Message: |
| Comment by Chris Westin [ 07/May/12 ] |
|
The wiki page lists it twice: once for mongorestore, and again for bsondump, which makes no sense at all. We should fix that. (It looks like the filter option doesn't make sense for bsondump either. Bad copy-paste?) The question revolves around what does it mean to "validate an object?" The querent thought this meant it would check to see if it already existed in the database. Obviously that's not it. From its sole use for mongorestore, it sounds like this validates the binary representation to make sure it is well-formed bson. I would amend both locations to mention that. |
| Comment by Sam Kleinman (Inactive) [ 07/May/12 ] |
|
To the best of my understanding --objcheck only exists for mongorestore, not for mongoimport, and it just validates objects before inserting them to prevent writing junk to the database. The following documentation in the new docs exists, but it's clearly minimal... http://docs.mongodb.org/manual/reference/mongorestore/#cmdoption-mongorestore--objcheck How/would you like this updated further or is this good? |