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

refactor fast-path for _id queries to not create a CanonicalQuery

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: 2.6.0
    • Fix Version/s: Backlog
    • Component/s: Performance, Querying
    • Labels:
      None
    • Operating System:
      ALL

      Description

      We should be using the idhack more aggressively in .find()s. When possible we should also avoid creating the CanonicalQuery for idhack .find() queries.

        Issue Links

          Activity

          • Comments
          Hide
          david.storch David Storch added a comment - - edited

          Splitting this into two tickets. This one will be for not creating a CanonicalQuery in the idhack path. Re-enabling projection for the idhack will be covered by SERVER-13337.

          Show
          david.storch David Storch added a comment - - edited Splitting this into two tickets. This one will be for not creating a CanonicalQuery in the idhack path. Re-enabling projection for the idhack will be covered by SERVER-13337 .

            People

            • Votes:
              1 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

              • Created:
                Updated: