- 
    Type:Bug 
- 
    Resolution: Duplicate
- 
    Priority:Major - P3 
- 
    None
- 
    Affects Version/s: None
- 
    Component/s: Storage
- 
    None
- 
        Storage Execution
- 
        ALL
- 
        None
- 
        None
- 
        None
- 
        None
- 
        None
- 
        None
- 
        None
First we take the DB lock in MODE_IX, then if the collection doesn't exist yet, we relock the DB in MODE_X in case we need to create the database as well for collection creation. However, we never relock the DB in MODE_IX after the collection is created. We end up holding the MODE_X for the duration of the createIndexes cmd in this scenario. Need to change it to relock in MODE_IX afterwards in both the runCreateIndexes function runCreateIndexesWithCoordinator function.
- duplicates
- 
                    SERVER-44405 Use MODE_IX lock for implicit collection creation with createIndexes -         
- Closed
 
-         
- related to
- 
                    SERVER-44877 Complete TODO listed in SERVER-40952 -         
- Closed
 
-