-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: 3.0.9, 3.2.1
-
Component/s: Sharding
-
Labels:None
-
ALL
This is a regression due to a previous change to fix SERVER-21366. The AutoGetCollection class acquires both the DB and collection locks in the same mode (MODE_X), but we shouldn't be taking the database lock in X-mode.