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

Investigate query rewrites for fixed bucketing for updates/deletes

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.1.0-rc0
    • 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:

      1. getBucketLevelPredicateForRouting (won't apply for the optimization since this is on mongos).
      2. getPushdownPredicates() --> getMatchExprsForWrites --> ParsedDelete and ParsedUpdateBase
      3. getPushdownPredicates() --> pushdownPredicate --> 
        makeTimeseriesCreateIndexesCommand

      We need to investigate if we can pass the fixedBuckets parameter to these places.

      Attachments

        Activity

          People

            gil.alon@mongodb.com Gil Alon
            gil.alon@mongodb.com Gil Alon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: