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

Allow JavaScript on mongos

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

      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@mongodb.com James Wahlin
            Reporter:
            david.percy@mongodb.com David Percy
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: