Files
mongo/jstests/aggregation/bugs
Chi-I Huang ac33e21990 SERVER-85238 Implement replanning in CachedPlanner for find query (#19144)
SERVER-85238 Implement replanning in CachedPlanner for find query

This commit implements basic replanning algorithm in CachedPlanner. When
a SBE plan is retrieved from cache, it performs SBE trial run phase to
see if replanning is needed. The replanning criteria is to see if the
number of reads (i.e. totalKeysExamined + totalDocsExamined) exceeds the
budget: internalQueryCacheEvictionRatio * decisionReads.
GitOrigin-RevId: e241ff0c3f11b667e5d7183d24cf0523948c2eed
2024-03-05 18:16:07 +00:00
..
2023-12-14 06:03:22 +00:00