[SERVER-14849] Creating descending _id index should result in error Created: 10/Aug/14  Updated: 06/Dec/22

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

Type: Improvement Priority: Major - P3
Reporter: J Rassi Assignee: Backlog - Query Optimization
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-14128 Creating _id index with unique:false ... Closed
is related to SERVER-14833 Creating descending index on _id can ... Closed
Assigned Teams:
Query Optimization
Participants:

 Description   

Since as far back as version 1.8, requests to create an {_id: -1} index have been treated as if they were requests to create an {_id: 1} index. These requests should return an error to the user instead of being silently treated as a different request.

See also SERVER-14128 ("Creating _id index with unique:false should result in error").


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