[CXX-704] Create Write Concern W enum (for majority, default, etc) Created: 15/Oct/15  Updated: 11/Jan/16  Resolved: 23/Oct/15

Status: Closed
Project: C++ Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 3.0.0-rc0

Type: Improvement Priority: Minor - P4
Reporter: Matt Cotter Assignee: Matt Cotter
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: C++11 Driver MongoDB 3.2

 Description   

Write concern mongocxx::write_concern::nodes() needs to be given -3 for write concern w majority (etc).
Also see TODO in test write_concern.

Should be an enum.



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

Author:

{u'username': u'Machyne', u'name': u'Matt Cotter', u'email': u'matt@mattwc.com'}

Message: CXX-704: un-expose underlying int values, fix enum name and tests

Comment by Matt Cotter [ 22/Oct/15 ]

https://github.com/mongodb/mongo-cxx-driver/pull/348

Comment by Githook User [ 19/Oct/15 ]

Author:

{u'username': u'Machyne', u'name': u'Matt Cotter', u'email': u'matt@mattwc.com'}

Message: CXX-704: add enum for special write concern w values
Branch: master
https://github.com/mongodb/mongo-cxx-driver/commit/dd6fe4eaf9577f03f03e5d5925e331940285728c

Comment by Matt Cotter [ 16/Oct/15 ]

https://github.com/mongodb/mongo-cxx-driver/pull/331

Generated at Wed Feb 07 22:00:02 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.