[CDRIVER-175] Implement default write acknowledgement with new MongoClient class Created: 30/Oct/12  Updated: 19/Oct/16  Resolved: 14/Nov/12

Status: Closed
Project: C Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 0.7

Type: New Feature Priority: Major - P3
Reporter: Jeffrey Yemin Assignee: Gary Murakami
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends

 Comments   
Comment by auto [ 26/Nov/12 ]

Author:

{u'date': u'2012-11-26T23:50:18Z', u'email': u'gary.murakami@10gen.com', u'name': u'Gary Murakami'}

Message: CDRIVER-175 Implement default write acknowledgement with new MongoClient class
mongo_replica_set_client renamed with "replica_set" replacing "replset" uniformly - the "replset" functions are deprecated
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/ebe1d59298a297e8777f452b8873a7e7c5a9178d

Comment by auto [ 14/Nov/12 ]

Author:

{u'date': u'2012-11-14T21:10:34Z', u'email': u'gary.murakami@10gen.com', u'name': u'Gary Murakami'}

Message: CDRIVER-175 Implement default write acknowledgement with new MongoClient class
clarified parameters, values, and meanings
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/189f142343dc6086b9fbf3ca92fd9b91d1bdaca5

Comment by auto [ 14/Nov/12 ]

Author:

{u'date': u'2012-11-14T20:43:46Z', u'email': u'gary.murakami@10gen.com', u'name': u'Gary Murakami'}

Message: CDRIVER-175 Implement default write acknowledgement with new MongoClient class
completely static WC1 default write concern
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/bc0863fbb7e34fa2c9ebf58df6a8666b176ca0f3

Comment by auto [ 14/Nov/12 ]

Author:

{u'date': u'2012-11-14T20:43:27Z', u'email': u'gary.murakami@10gen.com', u'name': u'Gary Murakami'}

Message: CDRIVER-175 Implement default write acknowledgement with new MongoClient class
completely static WC1 default write concern
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/2a5829c120a0e57f6a952d0f25743fb2a953ad18

Comment by Gary Murakami [ 14/Nov/12 ]

new functions
mongo_client - explicitly set conn->write_concern = default of w 1
mongo_repl_client - explicitly set conn->write_concern = default of w 1
new data
mongo_write_concern
old functions
mongo_connect - explicitly set conn->write_concern = NULL, deprecation warning
mongo_repl_connect - explicitly set conn->write_concern = NULL, deprecation warning
update all documentation, tutorials, examples - global rewrite "safe"
http://api.mongodb.org/c/current/write_concern.html
TDD
1. assert old default write concern (non-blocking / no acknowledgement)
2. deprecation warnings
3. mongo_client / mongo_replset_client assert new default write concern (acknowledgement)
4. assert w = 1 special case not in getLastError
5. convert all references (code, tests, examples, docs) except history / deprecated to mongo_client / mongo_replset_client

Comment by auto [ 14/Nov/12 ]

Author:

{u'date': u'2012-11-14T06:25:14Z', u'email': u'gary.murakami@10gen.com', u'name': u'Gary Murakami'}

Message: CDRIVER-175 Implement default write acknowledgement with new MongoClient class
write_concern doc tweak
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/c55929f7a1469556a8469eafbc5d87ddf5d3ddc3

Comment by auto [ 14/Nov/12 ]

Author:

{u'date': u'2012-11-14T06:16:50Z', u'email': u'gary.murakami@10gen.com', u'name': u'Gary Murakami'}

Message: CDRIVER-175 Implement default write acknowledgement with new MongoClient class
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/20ebaaa86ef18f294a8ecdf28f0f6f6ce0646515

Comment by Gary Murakami [ 13/Nov/12 ]

Today, the C driver version 0.7 has been added to the rest of the "core" drivers for purposes of this coordinated release.

https://wiki.10gen.com/display/10GEN/new+WriteConcern+default

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