[SERVER-5335] Creation of _id index should automatically add unique:true to index spec Created: 19/Mar/12  Updated: 07/Feb/23

Status: Backlog
Project: Core Server
Component/s: Index Maintenance
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Minor - P4
Reporter: Tyler Brock Assignee: Backlog - Query Execution
Resolution: Unresolved Votes: 6
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by SERVER-5893 autoIndexId:true creates a non-unique... Closed
is duplicated by SERVER-40880 _id index is not displayed as unique Closed
Related
is related to SERVER-14128 Creating _id index with unique:false ... Closed
Assigned Teams:
Query Execution
Participants:

 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.


Generated at Thu Feb 08 03:08:35 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.