[CDRIVER-1871] Duplicated readConcern and writeConcern in commands when applying defaults Created: 20/Oct/16  Updated: 28/Oct/16  Resolved: 28/Oct/16

Status: Closed
Project: C Driver
Component/s: libmongoc
Affects Version/s: 1.5.0
Fix Version/s: 1.5.0

Type: Bug Priority: Major - P3
Reporter: A. Jesse Jiryu Davis Assignee: Hannes Magnusson
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: Flexible opts

 Description   

mongoc_client_write_command_with_opts etc. always ignore default_wc and default_rc. Introduced in commit adfff3aa.



 Comments   
Comment by Githook User [ 28/Oct/16 ]

Author:

{u'username': u'bjori', u'name': u'Hannes Magnusson', u'email': u'bjori@php.net'}

Message: CDRIVER-1871: Duplicate write and readConcern
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/b96abc3a2a7a20b9827ba4f5ddca86a0fc8463e5

Comment by Hannes Magnusson [ 27/Oct/16 ]

Is there a test for this somewhere?
These didn't exist when then codereview was approved and it looks our commits had conflicts which resulted in this change.
The change isn't that default_wc and _rc are ignored, the change is they are always applied afaict

Generated at Wed Feb 07 21:13:28 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.