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

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: 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
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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 Alex Mihai (Inactive)
              Reporter:
              Denis Grebennicov
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: