Refine plan cache key filter component to encode parameter markers

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 6.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • QO 2022-02-07, QE 2022-02-21, QE 2022-03-07, QE 2022-03-21
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Currently we encode an entire query filter BSON object into the plan cache key. In order to be able to map queries having a similar shape (as it's defined in SBE) we need to change the encoding scheme to take into account parameter markers, so that two queries

      {a: 10}

      and

      {a: 20}

      are mapped the same cached plan.

            Assignee:
            Ruoxin Xu
            Reporter:
            Anton Korshunov
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: