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

Creation of _id index should automatically add unique:true to index spec

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Index Maintenance
    • None
    • Query Execution

      It's confusing that the index on _id is unique but it doesn't report itself as such in getIndexes() or in system.indexes.

            Assignee:
            backlog-query-execution [DO NOT USE] Backlog - Query Execution
            Reporter:
            tyler@10gen.com Tyler Brock
            Votes:
            7 Vote for this issue
            Watchers:
            16 Start watching this issue

              Created:
              Updated: