-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Fully Compatible
-
Execution Team 2022-10-31
For the commands which take a collectionUUID parameter, typically we take an AutoGetCollection to acquire the collection followed by a checkCollectionUUIDMismatch. We can streamline this process a bit by allowing AutoGetCollection to take an optional parameter for the expected UUID. This would also allow us to skip the lookup in the view catalog when collectionUUID is specified, preventing an InvalidViewDefinition error if invalid view definitions are present in system.views.
- depends on
-
SERVER-68336 Add version of AutoGetCollection which takes a struct for its optional parameters
- Closed
- is related to
-
SERVER-70649 Collection UUID mismatch error is not prioritized when we use the name of a view
- Closed
- related to
-
SERVER-78460 Complete TODO listed in SERVER-63754
- Closed
-
SERVER-63754 avoid copying NamespaceStringOrUUID vector in OptionsWithSecondaryCollections
- Closed