-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Service Arch
-
Fully Compatible
-
ALL
-
v8.0, v7.0, v6.0, v5.0
-
-
Service Arch 2024-04-01, Service Arch 2024-04-15, Service Arch 2024-04-29, Workload Scheduling 2024-05-27, Workload Scheduling 2024-06-10, Workload Scheduling 2024-06-24, Workload Scheduling 2024-07-08
Using mongo::Mutex instead of raw std::mutex appears to inhibit TSAN's ability to detect lock order inversions.
We should either fix the issue or only run TSAN on --enable-diagnostic-latches=off variants.
Reproducer attached in 'steps to reproduce'.
- is related to
-
SERVER-71207 Lock ordering violation between POS mutex lock and instance mutex lock
- Open
-
SERVER-91838 Lock order inversion between the ShardRegistry::_mutex, ReplicaSetMonitorManager::_mutex, and ShardingTaskExecutorPoolController::_mute
- Open
-
SERVER-91826 Lock order inversion between EgressConnectionCloserManager::_mutex, ShardRegistry::_mutex, and ConnectionPool::_mutex
- Backlog
-
SERVER-91827 Lock order inversion between ConnectionPool::_mutex, ShardRegistry::_mutex, ReplicationCoordinatorImpl::_mutex, ReplicationCoordinatorExternalStateImpl::_threadMutex, and EgressConnectionCloserManager::_mutex
- Backlog
-
SERVER-91877 Potential deadlock in SSLManagerOpenSSL construction
- Backlog
-
SERVER-91871 Unit-tests can data race on AuthorizationManager setters and getters
- In Progress
-
SERVER-91869 Lock order inversion between ConnectionPool::_mutex and PinnedConnectionTaskExecutor::_mutex
- Closed
-
SERVER-91872 FileCopyBasedInitialSyncer::_stats is read without synchronization in _extendBackupCursor fetcher callback
- Closed
-
SERVER-91875 Lock order inversion between FileCopyBasedInitialSyncer::_mutex and ReplicationCoordinatorImpl::_mutex
- Closed
-
SERVER-91934 Investigate root cause of diagnostic latches negative interaction with TSAN
- Open
-
SERVER-90429 Remove diagnostic latches
- Closed
-
SERVER-91819 Lock order inversion in WiredTigerKVEngine::beginNonBlockingBackup and WiredTigerKVEngine::endNonBlockingBackup
- Closed
-
SERVER-90745 Improve observability for mutex contention
- Closed
- related to
-
SERVER-88118 Investigate lock inversion in StreamableReplicaSetMonitor
- Closed