[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: SERVER-33563 add RAII-style class to opt out of replication's use of ParallelBatchWriterMode
Branch: master
https://github.com/mongodb/mongo/commit/522c306f159e4cd741068a20a3e82c7a8bcc26af

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?

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