[CDRIVER-824] collection_find_and_modify() should apply the mongoc_collection_t write_concern Created: 01/Sep/15  Updated: 18/Nov/15  Resolved: 12/Oct/15

Status: Closed
Project: C Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 1.3.0-beta0

Type: Improvement Priority: Major - P3
Reporter: Rathi Gnanasekaran Assignee: Hannes Magnusson
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to CDRIVER-1011 Document helpers that use writeConcern Closed
is related to CDRIVER-945 mongoc_collection_find_and_modify_wit... Closed
is related to DRIVERS-224 Implement findAndModify writeConcern ... Closed
Epic Link: MongoDB 3.2

 Description   

collection_find_and_modify()

Will now automatically apply the collection's writeConcern when talking to MongoDB 3.2 servers or later.

This may cause "slower collection_find_and_modify()" then previous releases if the collection writeConcern is greater then the server provided default (usually w=1).



 Comments   
Comment by Githook User [ 12/Oct/15 ]

Author:

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

Message: CDRIVER-824: Add test for findAndModify + writeconcern
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/094716285eed1dea80c878f9a972a890e7799480

Comment by Githook User [ 12/Oct/15 ]

Author:

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

Message: CDRIVER-824: Implement findAndModify writeConcern support
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/f7a07b80d865a7c460fbe2e4a5b88e1bb8462dea

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