[SERVER-35723] Make the collection critical section into a RAII class Created: 21/Jun/18  Updated: 29/Oct/23  Resolved: 28/Jun/18

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 4.0.2, 4.1.1

Type: Task Priority: Major - P3
Reporter: Janna Golden Assignee: Janna Golden
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.0
Sprint: Sharding 2018-07-02
Participants:

 Description   

We should make a collection critical section RAII class that can be used by both the migrationSourceManager and the new _shardCollection command in order to acquire the shardingMigrationCriticalSection.



 Comments   
Comment by Githook User [ 13/Aug/18 ]

Author:

{'name': 'jannaerin', 'email': 'golden.janna@gmail.com', 'username': 'jannaerin'}

Message: SERVER-35723 Make the collection critical section into an RAII class

(cherry picked from commit 019264f0277a8ea675a97ed88370bda064923651)
Branch: v4.0
https://github.com/mongodb/mongo/commit/9c59460c4ceecb2e127ea682f2a024ecfd55ef53

Comment by Githook User [ 28/Jun/18 ]

Author:

{'username': 'jannaerin', 'name': 'jannaerin', 'email': 'golden.janna@gmail.com'}

Message: SERVER-35723 Make the collection critical section into an RAII class
Branch: master
https://github.com/mongodb/mongo/commit/019264f0277a8ea675a97ed88370bda064923651

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