createIndexes command unsafely accesses collection object outside of lock

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: 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
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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
              Reporter:
              Louis Williams
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: