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

New replication behavior for capped collections needs to be documented.

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • mongodb-2.2
    • None
    • None
    • None

    Description

      The replication behavior of capped collections has changed. By default, capped collections do not have an _id index. Prior to 2.2, this caused replication of capped collections to be very slow, until the user created the _id index themselves. In 2.2, the _id index is still not created by default on the primary, but it is created on the secondaries after some number of insert or updates. This prevents replication from falling behind. We still recommend that users create the _id index manually on the primary, so that if the primary node fails over and becomes a secondary, it will already have an _id index.

      Attachments

        Activity

          People

            sam.kleinman Sam Kleinman (Inactive)
            matulef Kevin Matulef
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              11 years, 19 weeks, 4 days ago