[SERVER-22598] ensure all default write concern options use sync unset Created: 12/Feb/16  Updated: 22/Nov/16  Resolved: 19/Feb/16

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 3.2.4, 3.3.2

Type: Bug Priority: Major - P3
Reporter: Eric Milkie Assignee: Scott Hernandez (Inactive)
Resolution: Done Votes: 0
Labels: code-and-test
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Completed:
Sprint: Repl 10 (02/19/16)
Participants:
Linked BF Score: 0

 Description   

Currently, a WriteConcernOption defaults to SyncMode::NONE for sync. This means for code that sets w:"majority", it will not upgrade to j:true appropriately. Setting the default value for sync to be SyncMode::UNSET will fix this.



 Comments   
Comment by Githook User [ 24/Feb/16 ]

Author:

{u'username': u'milkie', u'name': u'Eric Milkie', u'email': u'milkie@10gen.com'}

Message: SERVER-22598 ensure all default write concern options use sync unset

(cherry picked from commit 52779c11c025e72a2c22c555bb06e05caf8e1ae1)
Branch: v3.2
https://github.com/mongodb/mongo/commit/b9e29501e0518d927e7d75cf57c7b20139632b98

Comment by Eric Milkie [ 19/Feb/16 ]

Assigning to Scott for the backport, once we're ready.

Comment by Githook User [ 17/Feb/16 ]

Author:

{u'username': u'milkie', u'name': u'Eric Milkie', u'email': u'milkie@10gen.com'}

Message: SERVER-22598 ensure all default write concern options use sync unset
Branch: master
https://github.com/mongodb/mongo/commit/52779c11c025e72a2c22c555bb06e05caf8e1ae1

Generated at Thu Feb 08 04:00:52 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.