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

Refine plan cache key filter component to encode parameter markers

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 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

      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@mongodb.com Ruoxin Xu
            Reporter:
            anton.korshunov@mongodb.com Anton Korshunov
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: