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

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

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Gone away
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Replication, Storage
    • Labels:
      None

      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

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: