Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-3286

Map/reduce documentation is wrong about write lock

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • v1.3.5
    • Affects Version/s: None
    • Component/s: manual
    • Labels:
      None

      The page on concurrency in map/reduce (http://docs.mongodb.org/manual/core/map-reduce-concurrency/) should make it clear that the write lock taken during the reduce phase is actually a global lock, rather than just a database-level lock. Also, while in non-atomic mode the lock is released and re-acquired for every single document that is written, the lock is pre-emptive in that case and thus has essentially the same effect as in atomic mode, rendering the server inaccessible for any other operation.

      (Compare SERVER-13552 where this issue is tracked.)

            Assignee:
            sam.kleinman Sam Kleinman (Inactive)
            Reporter:
            andre.spiegel@mongodb.com Andre Spiegel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              9 years, 51 weeks, 3 days ago