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

do not allow _id scans on capped collections

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Querying
    • Query Execution

      _id indexes are not created on capped collections by default.
      Very often people don't realize or forget and assume it's there, or use methods like save() which assume.

      We should assert on any table scan where the query is

      { _id : ... }

      .

            Assignee:
            backlog-query-execution [DO NOT USE] Backlog - Query Execution
            Reporter:
            eliot Eliot Horowitz (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: