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

SBE plan cache prevents range deletion from running for rooted $or queries

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Query Execution
    • Fully Compatible
    • ALL
    • Hide

      repro-server-73032.patch

      Run jstests/sharding/sbe_plan_cache_does_not_block_range_deletion.js on the sharding suite with 'featureFlagSbeFull' enabled.

      Show
      repro-server-73032.patch Run jstests/sharding/sbe_plan_cache_does_not_block_range_deletion.js on the sharding suite with 'featureFlagSbeFull' enabled.
    • QE 2023-02-06

      SERVER-61835 fixed a situation where the SBE plan cache improperly caches a ShardFilter, which prevents range deletions from running. It seems like for some query shapes this is still happening. The query shape in particular I found is

      {$or: [{a: {$lte: 10}}, {b: {$lte: 10}}]}

       

            Assignee:
            david.storch@mongodb.com David Storch
            Reporter:
            jordi.serra-torrens@mongodb.com Jordi Serra Torrens
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: