[DOCS-10463] Mongorestore documentation for objcheck is misleading Created: 29/Jun/17  Updated: 30/Oct/23  Resolved: 20/Oct/17

Status: Closed
Project: Documentation
Component/s: tools
Affects Version/s: None
Fix Version/s: Server_Docs_20231030

Type: Task Priority: Major - P3
Reporter: Kevin Arhelger Assignee: Stennie Steneker (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:
Days since reply: 6 years, 16 weeks, 5 days ago

 Description   

For: https://docs.mongodb.com/manual/reference/program/mongorestore/#cmdoption-objcheck

It says:

Changed in version 2.4: MongoDB enables --objcheck by default, to prevent any client from inserting malformed or invalid BSON into a MongoDB database.

Running mongorestore:

mongorestore --version
mongorestore version: r3.4.5
git version: 520b8f3092c48d934f0cd78ab5f40fe594f96863
Go version: go1.7
   os: darwin
   arch: amd64
   compiler: gc
OpenSSL version: OpenSSL 0.9.8zh 14 Jan 2016
 
mongorestore -vvv
2017-06-29T13:16:25.090-0500	checking options
2017-06-29T13:16:25.091-0500		dumping with object check disabled

I'd recommend removing the quote regarding 2.4 behavior as the default does not use objcheck.



 Comments   
Comment by Githook User [ 20/Oct/17 ]

Author:

{'email': 'stennie@cpan.org', 'name': 'Stephen Steneker', 'username': 'stennie'}

Message: DOCS-10463: Mongorestore documentation for objcheck is misleading
Branch: v3.2
https://github.com/mongodb/docs/commit/36c8f4a9c41d9d49c217be33bcaed9b2406e3e62

Comment by Githook User [ 20/Oct/17 ]

Author:

{'email': 'stennie@cpan.org', 'name': 'Stephen Steneker', 'username': 'stennie'}

Message: DOCS-10463: Mongorestore documentation for objcheck is misleading
Branch: v3.4
https://github.com/mongodb/docs/commit/da0a2f0f3335e613bd169d4a807434aeb2053ad3

Comment by Githook User [ 20/Oct/17 ]

Author:

{'email': 'stennie@cpan.org', 'name': 'Stephen Steneker', 'username': 'stennie'}

Message: DOCS-10463: Mongorestore documentation for objcheck is misleading
Branch: master
https://github.com/mongodb/docs/commit/9c7fecc95e77e41aec8deea6b887c4dc2007bb97

Generated at Thu Feb 08 08:00:36 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.