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

Cache chunk bounds as an array in resharding collection cloning pipeline

    XMLWordPrintableJSON

Details

    • Fully Compatible
    • v5.0
    • Sharding 2021-06-28
    • 1

    Description

      DocumentSourceSequentialDocumentCache::doOptimizeAt() caches on a per-stage basis of the $lookup pipeline. Restructuring the aggregation pipeline so the $objectToArray values are done as a separate stage from the $match that references the $$sk variable would mean their results can be cached too.

      The changes made in this ticket will be obsoleted by SERVER-57667 but will reduce the per-document processing overhead by a constant factor.

      Attachments

        Issue Links

          Activity

            People

              max.hirschhorn@mongodb.com Max Hirschhorn
              max.hirschhorn@mongodb.com Max Hirschhorn
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: