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

createIndexes command unsafely accesses collection object outside of lock

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.4.0-rc9, 4.7.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v4.4
    • Execution Team 2020-06-15
    • 14

      This code is not safe because we are not holding a collection lock while using a collection object from the catalog. In some circumstances, this could be safe, but there is no guarantee that the collection we are accessing even exists.

            Assignee:
            louis.williams@mongodb.com Louis Williams
            Reporter:
            louis.williams@mongodb.com Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: