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

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial - P5
    • Resolution: Fixed
    • Affects Version/s: mongodb-3.0
    • Fix Version/s: None
    • Component/s: manual
    • Labels:
      None
    • Environment:
      mongoDB v 3.2.4 with WiredTiger
    • # Replies:
      2
    • Last comment by Customer:
      true
    • Sprint:
      Docs Sprint 2016 (03.07-03.25)

      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.

        Issue Links

          Activity

          Hide
          xgen-internal-githook Githook User added a comment -

          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

          Show
          xgen-internal-githook Githook User added a comment - 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
          Hide
          nickmilon Nick Milonakis added a comment -

          thanks,
          nice to see it sorted out fast

          Regards

          Nick

          Show
          nickmilon Nick Milonakis added a comment - thanks, nice to see it sorted out fast Regards Nick

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since reply:
                1 year, 14 weeks, 5 days ago
                Date of 1st Reply:

                  Agile