-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
A lock is held while waiting for a long running or blocking operation to complete
Defect 101220 (STATIC_C)
Checker SLEEP (subcategory none)
File: /src/mongoc/mongoc-topology.c
Function mongoc_topology_select_server_id
/src/mongoc/mongoc-topology.c, line: 623
Calling function "pthread_mutex_lock" acquires lock "topology->mutex".
mongoc_mutex_lock (&topology->mutex);
- duplicates
-
CDRIVER-2182 Coverity analysis defect 101219: Waiting while holding a lock
- Closed