Details
-
Improvement
-
Status: Closed
-
Major - P3
-
Resolution: Duplicate
-
None
-
None
-
Replication
Description
We should validate the arguments sent to write concern so that if we add a field to write concern, old servers that don't support that field do not silently ignore it. Applications might assume they're getting durability guarantees they are not getting.
Ex:
> db.test.runCommand({insert : "test", documents : [], writeConcern : { foo : 1} } )
|
Attachments
Issue Links
- duplicates
-
SERVER-12979 Respond with error upon encountering unknown field names in writeConcern
-
- Backlog
-
- related to
-
SERVER-12465 write commands accept empty writeConcern document
-
- Closed
-