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

Patch for calculation of SbePlanCache size estimation and improve testing

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.1.0-rc0
    • Affects Version/s: 7.0.0-rc3
    • Component/s: None
    • None
    • Minor Change
    • QO 2023-06-26
    • 128

      Originally in the SbePlanCache to estimate the size of the cache we only took into consideration the entry size.

      With a recent ticket we extended this functionality to include also the size of the key.

      This generates a number of errors when executed concurrently. I have failed to reproduce the errors locally, however per the related BF, the failure occurs frequently on evergreen.

      As part of this work, we also improve testing on the SBE Plan cache to add a dedicated set of tests for the SBE plan cache functionality.

            Assignee:
            matt.olma@mongodb.com Matt Olma
            Reporter:
            matt.olma@mongodb.com Matt Olma
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: