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

Get rid of the ParallelBatchWriter mutex (aka "peanut-butter" lock)

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Replication, Storage
    • None
    • Storage Execution

    Description

      The ParallelBatchWriter lock needs to be acquired by each thread in both standalone and replicated instances. Now that the MMAP V1 journaling is split into global and flush locks, we can get rid of the PBR lock.

      The difference would be that the replication apply log coordinator will take the global lock in X mode before spawning the applier threads. Each applier thread then will not take the global lock (but will still take the flush lock in MMAP V1).

      Attachments

        Activity

          People

            backlog-server-execution Backlog - Storage Execution Team
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: