[SERVER-65235] Make LogicalSessionIdHasher has on txnUUID if it exists Created: 04/Apr/22  Updated: 29/Oct/23  Resolved: 05/Apr/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.0.0-rc0

Type: Task Priority: Major - P3
Reporter: Jason Zhang Assignee: Jason Zhang
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Sprint: Sharding NYC 2022-04-18
Participants:
Linked BF Score: 9

 Description   

Originally the hasher would only hash the _id of a given lsid, and with the introduction of hierarchical sessions, the hash map underlying the session catalog would observe numerous hash key collisions causing the worst case find scenario when trying to checkout a session.



 Comments   
Comment by Githook User [ 05/Apr/22 ]

Author:

{'name': 'Jason Zhang', 'email': 'jason.zhang@mongodb.com', 'username': 'jz1242'}

Message: SERVER-65235 Make LogicalSessionIdHasher has on txnUUID if it exists
Branch: master
https://github.com/mongodb/mongo/commit/7d0634a03461f22ef0c0461a011bde9425f00a3b

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