should fully normalize canonical query in canonical query

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 2.5.5
    • Affects Version/s: 2.5.5
    • Component/s: Querying
    • None
    • ALL
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

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

              Created:
              Updated:
              Resolved: