[SERVER-45691] Change Mutex::LockListeners to use a std::vector again Created: 22/Jan/20 Updated: 29/Oct/23 Resolved: 22/Jan/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 4.3.3 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Benjamin Caimano (Inactive) | Assignee: | Benjamin Caimano (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 | ||||||||||||||||||||||||
| Operating System: | ALL | ||||||||||||||||||||||||
| Backport Requested: |
v4.2
|
||||||||||||||||||||||||
| Sprint: | Service Arch 2020-01-27 | ||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||
| Linked BF Score: | 27 | ||||||||||||||||||||||||
| Description |
|
Since Mutex::LockListeners are on a single RegistryList, they now have the possibility to contend with each other. A constant vector will be much faster (as it was previously). |
| Comments |
| Comment by Githook User [ 03/Mar/20 ] |
|
Author: {'name': 'Ben Caimano', 'email': 'ben.caimano@10gen.com'}Message: This commit also backports:
|
| Comment by Githook User [ 22/Jan/20 ] |
|
Author: {'email': 'ben.caimano@mongodb.com', 'username': 'bcaimano', 'name': 'Ben Caimano'}Message: |