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

Make agg explain work fully with new query framework

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.5.5
    • Affects Version/s: 2.5.3
    • Component/s: Aggregation Framework
    • None
    • ALL

      Original title: Aggregation explain returns "cursorType" : "QueryOptimizerCursor" instead of cursor name

      If the query in $match involves only fields in the index then it shows the expected "cursorType" : "BtreeCursor action_id_1" but when another field is added to the query then it shows "cursorType" : "QueryOptimizerCursor" even if by performance it seems to be using the index (there are no other indexes in the collection other than one on _id and one on action_id).

            Assignee:
            mathias@mongodb.com Mathias Stearn
            Reporter:
            asya.kamsky@mongodb.com Asya Kamsky
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: