Improve the performance of $accumulator

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.4.0-rc0, 4.7.0
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • v4.4
    • Query 2020-02-24, Query 2020-03-09, Query 2020-03-23
    • 0
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      We think it will be more valuable to improve the performance of $accumulator, than to change the implementation of MapReduce to use it internally.

      Previous title and description:

      Use $accumulator in MapReduce pipelines

      Change how MapReduce generates its aggregation pipeline: use $accumulator instead of $_internalJsReduce. Then remove $_internalJsReduce.

      We will have decided how to do the translation in the POC: SERVER-45446

              Assignee:
              David Percy (Inactive)
              Reporter:
              David Percy (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: