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

Use db-level lock when MapReduce input and output use a single DB

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Concurrency, MapReduce
    • Labels:
    • Query Optimization

      In State::postProcessCollectionNonAtomic() and State::postProcessCollection(), only take a global write lock when necessary (e.g. if the input and output databases differ).

            Assignee:
            backlog-query-optimization [DO NOT USE] Backlog - Query Optimization
            Reporter:
            benjamin.becker Ben Becker
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: