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
    • Labels:
      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:
            6 Vote for this issue
            Watchers:
            15 Start watching this issue

              Created:
              Updated: