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.
createIndexes command unsafely accesses collection object outside of lock
- Assignee:
-
Louis Williams
- Reporter:
-
Louis Williams
- Votes:
-
0 Vote for this issue - Watchers:
-
4 Start watching this issue
- Created:
- Updated:
- Resolved: