-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Concurrency
-
Fully Compatible
-
v4.0, v3.6, v3.4
-
Storage NYC 2018-12-03
-
(copied to CRM)
Currently the dbstats command locks the database in MODE_S, which causes issues with transactions that may hold MODE_IX locks for extended periods of time. Similar to the changes we made for listCollections, we should instead lock the database in MODE_IS and then lock each collection in turn to get stats.
- is related to
-
SERVER-36428 WriteConflict inside a transaction on any concurrent db access
- Closed