Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-32727

disallow unique indexes on capped collections

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Gone away
    • None
    • None
    • Storage
    • 7

    Description

      It does not really make sense to create a capped collection with additional constraints such as having unique indexes. In a replica set, capped collections are trimmed on a per-insert basis on every node and this may cause issues enforcing the unique index constraints as inserts are replicated from the primary to secondary nodes.

      Attachments

        Activity

          People

            backlog-server-execution Backlog - Storage Execution Team
            benety.goh@mongodb.com Benety Goh
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: