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

should fully normalize canonical query in canonical query

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.5.5
    • 2.5.5
    • Querying
    • None
    • ALL

    Description

      The cache must sort the query tree in order to form a consistent key.

      This is required for {a:1, b:1} to map to the cache entry for {b:1, a:1}, which currently does not happen. We currently do not fully normalize the CQ before we probe the cache. We should put all sorting/normalization into CQ so we don't have to keep track of how "normalized" it is at every step.

      Attachments

        Activity

          People

            david.storch@mongodb.com David Storch
            hari.khalsa@10gen.com hari.khalsa@10gen.com
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: