[DOCS-9204] 3.4 release notes compatibility changes should mention stricter collection validation Created: 25/Oct/16  Updated: 03/Nov/16  Resolved: 03/Nov/16

Status: Closed
Project: Documentation
Component/s: Server
Affects Version/s: None
Fix Version/s: 3.4.0, mongodb-3.4p1

Type: Task Priority: Major - P3
Reporter: David Storch Assignee: Kay Kim (Inactive)
Resolution: Done Votes: 0
Labels: bite-sized
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
documents SERVER-26648 tolerate bad collection metadata prod... Closed
documents SERVER-25459 Create command should reject unknown ... Closed
Related
is related to DOCS-9049 3.4: Mention stricter createIndexes v... Closed
Participants:
Days since reply: 7 years, 14 weeks, 6 days ago
Story Points: 0.25

 Description   

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.



 Comments   
Comment by Githook User [ 03/Nov/16 ]

Author:

{u'username': u'kay-kim', u'name': u'kay', u'email': u'kay.kim@10gen.com'}

Message: DOCS-9204 3.4 collection option validation
Branch: master
https://github.com/mongodb/docs/commit/c4b81238b4b1e7091ac85a3dcf41b14e159aa43c

Comment by Allison Reinheimer Moore [ 25/Oct/16 ]

To you, kay.kim. Sounds like a buddy of DOCS-9049!

Generated at Thu Feb 08 07:57:47 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.