Creating descending _id index should result in error

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Index Maintenance
    • None
    • Query Optimization
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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").

            Assignee:
            [DO NOT USE] Backlog - Query Optimization
            Reporter:
            J Rassi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: