-
Type: Improvement
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Replication
-
Replication
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} } )
- 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