[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: |
|
||||
| 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: (cherry picked from commit 019264f0277a8ea675a97ed88370bda064923651) |
| Comment by Githook User [ 28/Jun/18 ] |
|
Author: {'username': 'jannaerin', 'name': 'jannaerin', 'email': 'golden.janna@gmail.com'}Message: |