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

Signal the flusher thread to flush instead of calling waitUntilDurable when waiting for {j:true}

    • Type: Icon: Task Task
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Replication

      _lastSyncMutex is one of the most contended mutexes when running with {j: true}. This optimization reduces the contention on _lastSyncMutex and avoid serializing {j: true} writer for journal waiting. This also reduces sync-related I/O rate when there are lots of {j: true} writer but will also avoid significant delay in journal waiting.

            Assignee:
            backlog-server-repl [DO NOT USE] Backlog - Replication Team
            Reporter:
            lingzhi.deng@mongodb.com Lingzhi Deng
            Votes:
            0 Vote for this issue
            Watchers:
            16 Start watching this issue

              Created:
              Updated:
              Resolved: