Allow JavaScript on mongos

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.3.4
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • Query 2020-01-27, Query 2020-02-10
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      When the mergerPart of an aggregation contains Javascript, we need to pick a shard to do the merge, because mongos doesn't support Javascript today. On allowing Javascript execution on mongos, we can instead keep the merge local. This will be useful for reducing latency (one fewer hop), and for reducing the load on the shards (by moving the work to mongos).

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

              Created:
              Updated:
              Resolved: