[SERVER-74169] Fix the mutex lock issue in SessionCatalogMigrationSource Created: 17/Feb/23  Updated: 29/Oct/23  Resolved: 27/Mar/23

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

Type: Bug Priority: Major - P3
Reporter: Rachita Dhawan Assignee: Kruti Shah
Resolution: Fixed Votes: 0
Labels: neweng, sharding-nyc-subteam3
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Assigned Teams:
Sharding NYC
Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:
Linked BF Score: 2

 Description   

From https://jira.mongodb.org/browse/BF-27652
Add mutex lock here https://github.com/mongodb/mongo/blob/master/src/mongo/db/s/session_catalog_migration_source.cpp#L318
similar to https://github.com/mongodb/mongo/blob/master/src/mongo/db/s/session_catalog_migration_source.cpp#L736



 Comments   
Comment by Githook User [ 27/Mar/23 ]

Author:

{'name': 'Kruti Shah', 'email': 'kruti139@gmail.com', 'username': 'krutishah139'}

Message: SERVER-74169 Adding a mutex lock to fix data race
Branch: master
https://github.com/mongodb/mongo/commit/12cfcdaf183c995e8113175f03649250753d407b

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