[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: |
|
||||
| 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: |