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

Ensure that we check for existing indexes under a MODE_IX collection lock during createIndexes before taking the MODE_X collection lock

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.3.1
    • Affects Version/s: None
    • Component/s: Catalog, Index Maintenance
    • Labels:
      None
    • Fully Compatible
    • ALL
    • Execution Team 2019-11-04, Execution Team 2019-11-18

      Neither the successful and unsuccessful (IndexKeySpecsConflict) cases modify the catalog, so just use MODE_IX collection locks in all cases where an index already exists before we take the MODE_X lock.

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

              Created:
              Updated:
              Resolved: