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

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

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • Index Maintenance
    • None
    • Query Execution

    Description

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

      Attachments

        Activity

          People

            backlog-query-execution Backlog - Query Execution
            tyler@10gen.com Tyler Brock
            Votes:
            6 Vote for this issue
            Watchers:
            15 Start watching this issue

            Dates

              Created:
              Updated: