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

Fix how SBE plan cache deals with ShardFilterer

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 5.3.0
    • None
    • None
    • None
    • Fully Compatible
    • QO 2022-01-10, QO 2022-01-24, QO 2022-02-07, QO 2022-02-21

    Description

      A ShardFilterer owns a ScopedCollectionFilter which represents a snapshot in time of parts of sharding state. SBE plans make an owned ShardFilterer if needed, and currently the ShardFilterer will be stored together with the SBE plan in the SBE plan cache. Next time when the cached SBE plan is recovered from the cache we could end up using a stale ShardFilterer.  This ticket is to investigate whether we should or should not store the ShardFilterer in the SBE plan cache.

      Attachments

        Activity

          People

            ruoxin.xu@mongodb.com Ruoxin Xu
            ruoxin.xu@mongodb.com Ruoxin Xu
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: