Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-7407

documents in capped collection can't shrink in size is not refereed in the manual

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Trivial - P5 Trivial - P5
    • Server_Docs_20231030
    • Affects Version/s: mongodb-3.0
    • Component/s: manual
    • None
    • Environment:
      mongoDB v 3.2.4 with WiredTiger

      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.

            kay.kim@mongodb.com Kay Kim (Inactive)
            nickmilon Nick Milonakis
            0 Vote for this issue
            2 Start watching this issue

              8 years, 18 weeks, 6 days ago