[SERVER-41105] Rename parallel batch writer 'mutex' and 'mode' to 'lock' throughout the code Created: 13/May/19 Updated: 29/Oct/23 Resolved: 18/Jun/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Storage |
| Affects Version/s: | None |
| Fix Version/s: | 4.2.0-rc2, 4.3.1 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Dianna Hohensee (Inactive) | Assignee: | Dianna Hohensee (Inactive) |
| 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.2
|
||||||||||||
| Sprint: | Storage NYC 2019-05-20, Execution Team 2019-06-03, Execution Team 2019-06-17, Execution Team 2019-07-01 | ||||||||||||
| Participants: | |||||||||||||
| Description |
|
We often refer to it as a mutex or mode, and in a couple places as a lock. Let's make it consistent. |
| Comments |
| Comment by Githook User [ 18/Jun/19 ] |
|
Author: {'name': 'Dianna Hohensee', 'email': 'dianna.hohensee@10gen.com', 'username': 'DiannaHohensee'}Message: (cherry picked from commit 8f4b0b3817fbf48cc0025632802aec37d21946da) |
| Comment by Githook User [ 18/Jun/19 ] |
|
Author: {'name': 'Dianna Hohensee', 'email': 'dianna.hohensee@10gen.com', 'username': 'DiannaHohensee'}Message: |
| Comment by Dianna Hohensee (Inactive) [ 17/Jun/19 ] |
|
Yes, this will be backported to v4.2 ASAP. Thanks for keeping an eye on it |
| Comment by Bruce Lucas (Inactive) [ 17/Jun/19 ] |
|
If I'm reading this correctly it changes the serverStatus metric locks.ParallelBatchWriter to locks.parallelBatchWriterMode? Since this metric was introduced in 4.2 by |
| Comment by Andy Schwerin [ 14/May/19 ] |
|
It's the "parallel batch writer mode lock". It synchronizes between operations that can only occur when in parallel batch writer mode and operations that can only occur outside parallel batch writer mode. |