[DOCS-758] createCollection capped example, size wrong Created: 15/Nov/12  Updated: 29/Nov/12  Resolved: 15/Nov/12

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

Type: Bug Priority: Major - P3
Reporter: Thomas Rueckstiess Assignee: Sam Kleinman (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, 12 weeks, 2 days ago

 Description   

The example reads:

db.createCollection("log", { capped : true, size : 536870912, max : 5000 } )

which allocates 512 MB. Not 5 MB and not 512 kb, as it says below in the description.



 Comments   
Comment by auto [ 27/Nov/12 ]

Author:

{u'date': u'2012-11-21T19:33:22Z', u'email': u'samk@10gen.com', u'name': u'Sam Kleinman'}

Message: DOCS-758 correction about lock scope in fsynclock and unlock
Branch: master
https://github.com/mongodb/docs/commit/5ca6557909f90ba89a8ad65ed4905fa76f012e88

Comment by auto [ 15/Nov/12 ]

Author:

{u'date': u'2012-11-15T15:59:33Z', u'email': u'samk@10gen.com', u'name': u'Sam Kleinman'}

Message: merge: DOCS-758
Branch: master
https://github.com/mongodb/docs/commit/cdb47d7d15c6de2c91686d2bc59c60226c4ec65e

Comment by auto [ 15/Nov/12 ]

Author:

{u'date': u'2012-11-15T00:10:40Z', u'name': u'Thomas R\xfcckstie\xdf', u'email': u'thomas@rueckstiess.net'}

Message: Fixed example for size alloc in capped collections

DOCS ticket: https://jira.mongodb.org/browse/DOCS-758
Branch: master
https://github.com/mongodb/docs/commit/476d3d44ab4c6025424698060957107f0b25bb52

Comment by Thomas Rueckstiess [ 15/Nov/12 ]

github pull request: https://github.com/mongodb/docs/pull/406

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