[DOCS-7407] documents in capped collection can't shrink in size is not refereed in the manual Created: 13/Mar/16  Updated: 30/Oct/23  Resolved: 14/Mar/16

Status: Closed
Project: Documentation
Component/s: manual
Affects Version/s: mongodb-3.0
Fix Version/s: Server_Docs_20231030

Type: Improvement Priority: Trivial - P5
Reporter: Nick Milonakis Assignee: Kay Kim (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

mongoDB v 3.2.4 with WiredTiger


Issue Links:
Related
related to DOCS-6890 Invalid link in Capped Collections doc Closed
related to DOCS-7373 capped collections do not allow updat... Closed
Participants:
Days since reply: 7 years, 48 weeks, 3 days ago

 Description   

In relation to https://jira.mongodb.org/browse/SERVER-20529
it seems that documents in capped collections can no longer shrink in size during an update resulting to errmsg: "Cannot change the size of a document in a capped collection" "code" : 10003
Unfortunately this is not reflected in the manuals yet ( https://docs.mongodb.org/manual/core/capped-collections/ ) where
only mentions that a document can't grow in size.
Since this is breaking backward compatibility it should stated loud and clear in the manual.



 Comments   
Comment by Nick Milonakis [ 14/Mar/16 ]

thanks,
nice to see it sorted out fast

Regards

Nick

Comment by Githook User [ 14/Mar/16 ]

Author:

{u'username': u'kay-kim', u'name': u'kay', u'email': u'kay.kim@10gen.com'}

Message: DOCS-7373, DOCS-7407 capped collection immutable document size
Branch: master
https://github.com/mongodb/docs/commit/205f0c58e385c034b0b8ea36a59f6f2cf5748376

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