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

disallow unique indexes on capped collections

    • Type: Icon: Improvement Improvement
    • Resolution: Gone away
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Storage
    • Storage Execution
    • 7

      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.

            Assignee:
            backlog-server-execution [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            benety.goh@mongodb.com Benety Goh
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: