-
Type: Improvement
-
Resolution: Gone away
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Storage Execution
-
Execution Team 2023-05-01, Execution Team 2023-05-15
The _oplogPinnedByBackupMutex is locked and held for the majority of WiredTigerKVEngine::beginNonBlockingBackup()
The mutex is locked before the trying to acquire the PBWM lock. We've seen scenarios where minor changes to the oplog applier code path can introduce a deadlock where the oplog applier holds the PBWM lock while trying to check the oldest pinned timestamp.
In general, we should try to limit the scope of this mutex, and evaluate if the scope can be reduced to improve code safety.
- related to
-
SERVER-75107 Deadlock with oplog application and opening a backup cursor on a secondary
- Closed