-
Type: Task
-
Resolution: Duplicate
-
Priority: 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.
- depends on
-
SERVER-43135 Introduce a future-based API for waiting for write concern
- Closed
- is duplicated by
-
SERVER-45665 Make JournalFlusher flush on command and watiForWriteConcern asynchronously call waitUntilDurable through the JournalFlusher
- Closed
- is related to
-
SERVER-43658 Only call waitUntilDurable inline for {j: true} when w > 1
- Closed