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

Add a targeted test for the SBE planCache to not use the stale cache entries after the refineShardKey operation

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Query Optimization
    • Fully Compatible
    • QO 2022-05-16, QO 2022-05-30, QO 2022-06-13, QO 2022-06-27, QO 2022-07-11, QO 2022-07-25, QO 2022-08-08, QO 2022-08-22, QO 2022-09-05

      SERVER-65085 adds sharded collection epoch, in order to avoid using the stale cache entries of the SBE planCache after performing refineShardKey on a collection.

      However it didn't introduce the jstest that would verify this behavior.

            Assignee:
            eduard.alexmihai@mongodb.com Eduard Alex Mihai (Inactive)
            Reporter:
            denis.grebennicov@mongodb.com Denis Grebennicov
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: