Details
-
Bug
-
Resolution: Done
-
Major - P3
-
None
-
None
Description
Commands that write documents to a collection have been given the ability to bypass document validation:
- clone

- cloneCOllection

- copydb

- applyOps

aggregate when used with $out (available for both command and method)
findAndModify (available for both command and method)
mapReduce (available for both command and method)
insert - (available for only command)
update - (available for only command)
I noticed that this flag is undocumented in copydb, but have not checked the other commands. Here's the jstest which tests these options
Attachments
Issue Links
- documents
-
SERVER-27059 copyDatabase() fails due to document validation
-
- Closed
-
- related to
-
DOCS-5961 add new 3.2 option bypassDocumentValidation
-
- Closed
-