[SERVER-77227] Layering violation between d_concurrency and lock_manager Created: 17/May/23 Updated: 29/Oct/23 Resolved: 22/May/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Concurrency |
| Affects Version/s: | None |
| Fix Version/s: | 7.1.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Kaloian Manassiev | Assignee: | Kaloian Manassiev |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | PM-2144-Cleanup | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||
| Operating System: | ALL | ||||||||||||||||
| Sprint: | Sharding EMEA 2023-05-29 | ||||||||||||||||
| Participants: | |||||||||||||||||
| Description |
|
The RAII classes in d_concurrency are strictly for driving the locker of an operation context, which in turn builds on top of the LockManager. The implementation of ResourceId::toString() violates that layering by reaching up the stack. This dependency needs to be broken as a prerequisite to move the Locker out of the OperationContext and into TranasctionResources. |
| Comments |
| Comment by Githook User [ 23/May/23 ] |
|
Author: {'name': 'Kaloian Manassiev', 'email': 'kaloian.manassiev@mongodb.com', 'username': 'kaloianm'}Message: |
| Comment by Githook User [ 22/May/23 ] |
|
Author: {'name': 'Kaloian Manassiev', 'email': 'kaloian.manassiev@mongodb.com', 'username': 'kaloianm'}Message: |