[SERVER-12703] WriteConcernOptions::parse should error on invalid WriteConcern options Created: 12/Feb/14  Updated: 25/Jan/17  Resolved: 13/Jul/16

Status: Closed
Project: Core Server
Component/s: Write Ops
Affects Version/s: 2.5.5
Fix Version/s: 3.3.10

Type: Task Priority: Minor - P4
Reporter: Scott Hernandez (Inactive) Assignee: Benety Goh
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-25035 fix malformed write concern documents... Closed
Backwards Compatibility: Fully Compatible
Sprint: Repl 17 (07/15/16)
Participants:
Linked BF Score: 0

 Description   

Since this is the wrapper around server write concern options we should validate known options and error on unknown ones, since we cannot deliver on the unknown requirements.



 Comments   
Comment by Githook User [ 13/Jul/16 ]

Author:

{u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}

Message: SERVER-12703 write concern parsing should error on unrecognized fields
Branch: master
https://github.com/mongodb/mongo/commit/41152d3cee6688f58ed88179d1272b4a4534eed1

Generated at Thu Feb 08 03:29:19 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.