do not allow _id scans on capped collections

XMLWordPrintableJSON

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

      _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:
            [DO NOT USE] Backlog - Query Execution
            Reporter:
            Eliot Horowitz (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: