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

Creating descending _id index should result in error

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

      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:
            backlog-query-optimization [DO NOT USE] Backlog - Query Optimization
            Reporter:
            rassi J Rassi
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: