[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: |
|
||||
| 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: (cherry picked from commit 52779c11c025e72a2c22c555bb06e05caf8e1ae1) |
| 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: |