[DOCS-1037] incomplete docs on --objcheck & --noobjcheck Created: 23/Jan/13  Updated: 28/Mar/14  Resolved: 06/Mar/13

Status: Closed
Project: Documentation
Component/s: manual
Affects Version/s: None
Fix Version/s: mongodb-2.4

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

Issue Links:
Related
Participants:
Days since reply: 9 years, 46 weeks, 5 days ago

 Description   

MongoDB manual specifies --objcheck as a cmdline option http://docs.mongodb.org/manual/reference/mongod/#cmdoption-mongod--objcheck but it does not specify --noobjcheck which is the inverse. Since --objcheck is now the default in 2.3+, the --objcheck flag is kinda useless. If this option is documented, then --noobjcheck should be doc'd as well.

also, the output of "mongod --help" does not mention --objcheck or --noobjcheck as options, even tho they both are.



 Comments   
Comment by Antonio Quintana [ 28/Mar/14 ]

I still don't understand the documentation. Does this option only apply when inserting through a driver, when inserting from BSON, or in every insert no matter where it comes from? Can I disable it if I never do that specific operation (e.g. inserting from a driver, etc)?

It could be good if you did a performance benchmark with different structures (non nested, little nested, nested with arrays, "very" nested) and collection sizes, etc. Ok, this is an extra.

What I don't understand from http://docs.mongodb.org/manual/reference/program/mongos/#cmdoption--objcheck is: What an invalid document is?

Comment by auto [ 06/Mar/13 ]

Author:

{u'date': u'2013-03-04T17:50:14Z', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}

Message: DOCS-1037: new objcheck default
Branch: master
https://github.com/mongodb/docs/commit/397ca333d38524c9918b71b410e3e0374433e747

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