Parameterize SBE plan cache for clustered collection scans and enable caching

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      The CollectionScanNode members minRecord and maxRecord are currently not parameterized in the SBE plan cache, therefore initial support for clustered collection scans in SBE (SERVER-74521) had to disable caching of these plans, else when a cached plan gets reused it scans the original range instead of the range specified in the current query.

      This ticket is to add SBE plan cache parameterization of these members and enable caching of the plans. The result should be the current query's range bounds get substituted into the cached plan at runtime.

            Assignee:
            Kevin Cherkauer (Inactive)
            Reporter:
            Kevin Cherkauer (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: