[SERVER-49047] Move all usages of the lock request status in LockManager under the bucket mutex or the partition mutex Created: 23/Jun/20  Updated: 29/Oct/23  Resolved: 29/Jun/20

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.7.0

Type: Bug Priority: Major - P3
Reporter: Gregory Noma Assignee: Gregory Noma
Resolution: Fixed Votes: 0
Labels: thread-sanitizer
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Execution Team 2020-06-29, Execution Team 2020-07-13
Participants:
Linked BF Score: 0

 Description   

TSAN reports a data race in the lock manager here and here.

To fix this, all usages of the lock request status should be protected by either the bucket mutex or the partition mutex.



 Comments   
Comment by Githook User [ 29/Jun/20 ]

Author:

{'name': 'Gregory Noma', 'email': 'gregory.noma@gmail.com', 'username': 'gregorynoma'}

Message: SERVER-49047 Move all usages of the lock request status in LockManager under the bucket mutex or the partition mutex
Branch: master
https://github.com/mongodb/mongo/commit/29fe8825ba79dc289694787169a3793fa6556bce

Generated at Thu Feb 08 05:18:48 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.