Details
-
Bug
-
Resolution: Fixed
-
Major - P3
-
None
-
Fully Compatible
-
ALL
-
Query 2019-12-16
-
20
Description
The functions dropCollection and createIndexes call getValue() on the result of getDatabase() without checking for errors. Like the other similar functions (createCollection, getIndexSpecs, and renameIfOptionsAndIndexesHaveNotChanged), they should wrap the getDatabase() calls with uassertStatusOK().
cc ted.tuckman
Attachments
Issue Links
- related to
-
SERVER-44642 Verify that implementation of cross-database $out attaches writeConcern appropriately in sharded environments
-
- Closed
-