[SERVER-33563] add RAII-style class to opt out of replication's use of ParallelBatchWriterMode Created: 01/Mar/18 Updated: 29/Oct/23 Resolved: 02/Mar/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Storage |
| Affects Version/s: | None |
| Fix Version/s: | 3.7.3 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Benety Goh | Assignee: | Benety Goh |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Sprint: | Repl 2018-03-12 |
| Participants: |
| Description |
|
We have RAII-style classes to turn off replicated writes and to disable document validation on the OperationContext. It would be beneficial to have a similar class to opt out of the ParallelBatchWriterMode (Locker::setShouldConflictWithSecondaryBatchApplication()). |
| Comments |
| Comment by Githook User [ 02/Mar/18 ] |
|
Author: {'email': 'benety@mongodb.com', 'name': 'Benety Goh', 'username': 'benety'}Message: |
| Comment by Benety Goh [ 02/Mar/18 ] |
|
This was found on code inspection. |
| Comment by Spencer Brody (Inactive) [ 01/Mar/18 ] |
|
Can you add more context to the description here? Why do we need this/ why did this come up? |