Details
-
Task
-
Resolution: Fixed
-
Major - P3
-
None
-
None
-
None
-
Query Integration
-
Fully Compatible
-
QI 2023-08-07, QI 2023-08-21
Description
In the updates/delete code path we call createPredicatesOnBucketLevelField which can use the fixed buckets rewrites in these places:
- getBucketLevelPredicateForRouting (won't apply for the optimization since this is on mongos).
- getPushdownPredicates() --> getMatchExprsForWrites --> ParsedDelete and ParsedUpdateBase
- getPushdownPredicates() --> pushdownPredicate -->
makeTimeseriesCreateIndexesCommand
We need to investigate if we can pass the fixedBuckets parameter to these places.