-
Type:
Task
-
Resolution: Done
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: Server
-
0.25
In SERVER-25459, we added validation to reject unknown options to the create command. For example, the following command should now fail against a 3.4 server:
db.runCommand({create: "myCollection", unknownOption: true});
Most applications should not be affected by this change, since unknown options were simply ignored prior to the change in SERVER-25459. However, if an application misspells a collection option or otherwise delivers an incorrect option, it will receive errors from the server in 3.4. This change does not affect upgrade to 3.4, even when the data files already contain bad collection metadata, due to SERVER-26648.
This is similar to the additional documentation requested in DOCS-9049.
- documents
-
SERVER-26648 tolerate bad collection metadata produced on version 2.4 or earlier
-
- Closed
-
-
SERVER-25459 Create command should reject unknown options
-
- Closed
-
- is related to
-
DOCS-9049 3.4: Mention stricter createIndexes validation in release notes
-
- Closed
-