Details
-
Bug
-
Status: Backlog
-
Major - P3
-
Resolution: Unresolved
-
None
-
None
-
ALL
-
15
Description
The applyOperation_inlock() function calls Collection::insertDocuments() directly. Since the "applyOps" command doesn't call the fixDocumentForInsert() function on its operations of type op='i' as part of its validation, this means (among other things) it is possible to insert documents with $-prefixed fields names, exceed the maximum depth for user storage, or use bad BSON types for the "_id" field.
Attachments
Issue Links
- is related to
-
SERVER-27096 applyOps should validate its ops to ensure idempotency
-
- Backlog
-
- related to
-
SERVER-32952 applyOps does not validate updates
-
- Backlog
-