[SERVER-82563] Call _sessions.sync() in SessionManagerCommon::appendStats Created: 30/Oct/23  Updated: 30/Oct/23  Resolved: 30/Oct/23

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

Type: Bug Priority: Major - P3
Reporter: Erin McNulty Assignee: Erin McNulty
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
Operating System: ALL
Sprint: Service Arch 2023-10-30, Service Arch 2023-11-13
Participants:
Linked BF Score: 131

 Description   

We have to add a call to synchronize _sessions before accessing it, as it is causing a data race BF right now.



 Comments   
Comment by Githook User [ 30/Oct/23 ]

Author:

{'name': 'Erin McNulty', 'email': 'erin.mcnulty@mongodb.com', 'username': 'erin2722'}

Message: SERVER-82563: Call _sessions.sync() in SessionManagerCommon::appendStats
Branch: master
https://github.com/mongodb/mongo/commit/c6b40a349629163fb518e329563bab258f5b8a30

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