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

Add caveat to manual padding section regarding capped collections

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None

    Description

      We have a section on manual padding:
      http://docs.mongodb.org/manual/faq/developers/#faq-developers-manual-padding

      We should add a caveat that this approach will not work with capped collections, as the padding is removed from documents during initial sync. This will cause subsequent updates that grow the document to break replication.

      This is a problem during initial sync for any collection type, but upcapped collection docs are able to grow.

      We should probably warn against updating capped collections in general....

      Attachments

        Activity

          People

            bgrabar Bob Grabar
            dan@mongodb.com Daniel Pasette (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              10 years, 21 weeks, 2 days ago