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

Allow JavaScript on mongos

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.3.4
    • None
    • None
    • Fully Compatible
    • Query 2020-01-27, Query 2020-02-10

    Description

      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).

      Attachments

        Activity

          People

            james.wahlin@mongodb.com James Wahlin
            david.percy@mongodb.com David Percy
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: