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

Global Lock in Reduce Phase of Map/Reduce

    XMLWordPrintableJSON

Details

    • Icon: Question Question
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • 2.4.9, 2.6.0
    • MapReduce
    • None

    Description

      When writing results to an output collection, the map/reduce engine acquires a global write lock, effectively blocking the server for all other operations. Even when the nonAtomic option is used, the global lock is acquired for every single document that is written, and since this happens pre-emptively, the effect is very much the same.

      This effectively prevents any kind of concurrency while doing map/reduce computations and should therefore be changed.

      Attachments

        Activity

          People

            mathias@mongodb.com Mathias Stearn
            andre.spiegel@mongodb.com Andre Spiegel
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: