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

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Trivial - P5 Trivial - P5
    • Server_Docs_20231030
    • mongodb-3.0
    • manual
    • None
    • mongoDB v 3.2.4 with WiredTiger

    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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:
              7 years, 39 weeks, 6 days ago