Currently, commands such as dropCollection take a lock for the collection it operates on, but not the database it operates on. Hence, commands that take a lock for only the database may be able to operate concurrently with dropCollection, which is not desired.
Hierarchical distributed locks should be added to all instances that such issues may occur.
- is related to
-
SERVER-31386 Make drop collection take the distlock before attempting routing table refresh
- Closed