Cache chunk bounds as an array in resharding collection cloning pipeline

XMLWordPrintableJSON

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

      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.

              Assignee:
              Max Hirschhorn
              Reporter:
              Max Hirschhorn
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: