Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-44405

Use MODE_IX lock for implicit collection creation with createIndexes

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.3.3
    • Affects Version/s: None
    • Component/s: Catalog, Concurrency
    • None
    • Fully Compatible
    • Execution Team 2019-12-02, Execution Team 2019-12-16
    • 22

      After SERVER-43859, index creation that necessitates implicit collection creation should only require MODE_IX locks. This ticket should remove any remaining acquisition of locks in this code path other than those. In particular, createIndexes::getOrCreateDatabase should go away.
      Ideally, implicit collection creation via index creation can comprise a single oplog entry and be treated similarly to explicit collection creation with indexes attached.

            Assignee:
            maria.vankeulen@mongodb.com Maria van Keulen
            Reporter:
            geert.bosch@mongodb.com Geert Bosch
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: