[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:
Backports
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: SERVER-66992 Optimize how often SessionCatalog mutex is held

(cherry picked from commit d457fc3a9723edc094bd7dc45bcf00112cad57c6)
Branch: v6.0
https://github.com/mongodb/mongo/commit/16830c53d1cda8193bc8147b5e56d60ae7b32b57

Comment by Githook User [ 03/Jun/22 ]

Author:

{'name': 'Jack Mulrow', 'email': 'jack.mulrow@mongodb.com', 'username': 'jsmulrow'}

Message: SERVER-66992 Optimize how often SessionCatalog mutex is held
Branch: master
https://github.com/mongodb/mongo/commit/d457fc3a9723edc094bd7dc45bcf00112cad57c6

Generated at Thu Feb 08 06:06:59 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.