There are currently at least 3 commands (find, listIndexes, and parallelCollectionScan) that use the parseNsOrUUID method to translate a UUID provided to the command into a namespace to run the command against. If, however, the collection with the given UUID is renamed after the namespace is looked up but before the command completes, the command can wind up operating on the wrong collection and returning incorrect results.
- is related to
-
SERVER-34615 find by UUID can return NamespaceNotFound for a collection that is concurrently renamed
- Closed
- related to
-
SERVER-33632 Make UUID catalog reload atomic
- Closed
-
SERVER-35699 Avoid holding locks during query parsing
- Backlog