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

Reenable use of covering indexes with aggregation

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      Quint Iteration 7, QuInt 8 08/28/15

      Description

      It is not currently possible to use covered indexes with the new query framework without using the full projection code in the non-covered cases.

        Issue Links

          Activity

          Hide
          xgen-internal-githook Githook User added a comment -

          Author:

          {u'username': u'RedBeard0531', u'name': u'Mathias Stearn', u'email': u'mathias@10gen.com'}

          Message: SERVER-11831 Use documentFromBsonWithDeps in agg again

          This bypasses new query framework projection and replaces it with a much faster
          dedicated code path. The downside is that it prevents using covering indexes
          in the cases where that was allowed (SERVER-12015).
          Branch: master
          https://github.com/mongodb/mongo/commit/3e707bcd22b7c0e8275d25bf8e8b28c3cec4cc67

          Show
          xgen-internal-githook Githook User added a comment - Author: {u'username': u'RedBeard0531', u'name': u'Mathias Stearn', u'email': u'mathias@10gen.com'} Message: SERVER-11831 Use documentFromBsonWithDeps in agg again This bypasses new query framework projection and replaces it with a much faster dedicated code path. The downside is that it prevents using covering indexes in the cases where that was allowed ( SERVER-12015 ). Branch: master https://github.com/mongodb/mongo/commit/3e707bcd22b7c0e8275d25bf8e8b28c3cec4cc67
          Hide
          xgen-internal-githook Githook User added a comment -

          Author:

          {u'username': u'cswanson310', u'name': u'Charlie Swanson', u'email': u'charlie.swanson@mongodb.com'}

          Message: SERVER-12015 Re-enable use of covering indices in an aggregation pipeline
          Branch: master
          https://github.com/mongodb/mongo/commit/843fd8ae34d06ed73f824c124cd2d9ef7d23b814

          Show
          xgen-internal-githook Githook User added a comment - Author: {u'username': u'cswanson310', u'name': u'Charlie Swanson', u'email': u'charlie.swanson@mongodb.com'} Message: SERVER-12015 Re-enable use of covering indices in an aggregation pipeline Branch: master https://github.com/mongodb/mongo/commit/843fd8ae34d06ed73f824c124cd2d9ef7d23b814

            People

            • Votes:
              3 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                  Agile