[SERVER-26965] Use RAII type for turning off replicated writes Created: 09/Nov/16 Updated: 06/Dec/17 Resolved: 13/Mar/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Internal Code, Replication |
| Affects Version/s: | None |
| Fix Version/s: | 3.5.4 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Tess Avitabile (Inactive) | Assignee: | Matthew Russotto |
| Resolution: | Done | Votes: | 0 |
| Labels: | neweng | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||
| Sprint: | Repl 2017-03-06, Repl 2017-03-27 | ||||||||||||||||||||
| Participants: | |||||||||||||||||||||
| Description |
|
Make OperationContext::setReplicatedWrites() private, and use RAII type everywhere to turn off replicated writes. |
| Comments |
| Comment by Ramon Fernandez Marina [ 24/Aug/17 ] |
|
Author: {'username': u'mtrussotto', 'name': u'Matthew Russotto', 'email': u'matthew.russotto@10gen.com'}Message: |
| Comment by Githook User [ 13/Mar/17 ] |
|
Author: {u'username': u'mtrussotto', u'name': u'Matthew Russotto', u'email': u'matthew.russotto@10gen.com'}Message: |
| Comment by Githook User [ 06/Mar/17 ] |
|
Author: {u'username': u'mtrussotto', u'name': u'Matthew Russotto', u'email': u'matthew.russotto@10gen.com'}Message: Revert " This reverts commit befb3ab22daa1f6e0db54af4caa426cfca1b7cd2. |
| Comment by Andy Schwerin [ 09/Nov/16 ] |
|
While you're at it, maybe make the field a decoration. |