[SERVER-66992] Optimize how often SessionCatalog mutex is held Created: 03/Jun/22 Updated: 29/Oct/23 Resolved: 03/Jun/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.0.0-rc9, 6.1.0-rc0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Jack Mulrow | Assignee: | Jack Mulrow |
| 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: |
v6.0
|
||||
| Sprint: | Sharding NYC 2022-06-13 | ||||
| Participants: | |||||
| Description |
|
Internal transactions added logic to the SessionCatalog and it's a relatively contended mutex, so we should audit the code to see if there are any straightforward optimizations we can make to reduce the work done while the mutex is held. Similarly, we should check if are places we take the mutex unnecessarily. |
| Comments |
| Comment by Githook User [ 03/Jun/22 ] |
|
Author: {'name': 'Jack Mulrow', 'email': 'jack.mulrow@mongodb.com', 'username': 'jsmulrow'}Message: (cherry picked from commit d457fc3a9723edc094bd7dc45bcf00112cad57c6) |
| Comment by Githook User [ 03/Jun/22 ] |
|
Author: {'name': 'Jack Mulrow', 'email': 'jack.mulrow@mongodb.com', 'username': 'jsmulrow'}Message: |